Lavender Milk Color Palette
Soft, airy pastels for friendly apps, onboarding screens and illustrations. Copy any hex code, or grab the whole palette as CSS variables or a Tailwind config.
Color codes
| Colour | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
Contrast
WCAG contrast for the strongest pairs. AA needs 4.5:1 for body text.
Aa#8f7ae0 on #f5f3ff3.18:1 · AA large
Aa#8f7ae0 on #e9e3ff2.80:1 · Fail
Aa#8f7ae0 on #d6ccff2.31:1 · Fail
Aa#b8a8f5 on #f5f3ff1.92:1 · Fail
CSS variables
:root {
--lavender-milk-1: #f5f3ff;
--lavender-milk-2: #e9e3ff;
--lavender-milk-3: #d6ccff;
--lavender-milk-4: #b8a8f5;
--lavender-milk-5: #8f7ae0;
}Tailwind CSS
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'lavender-milk': {
100: '#f5f3ff',
200: '#e9e3ff',
300: '#d6ccff',
400: '#b8a8f5',
500: '#8f7ae0',
},
},
},
},
};FAQ
What colors are in the Lavender Milk palette?
Lavender Milk uses #f5f3ff, #e9e3ff, #d6ccff, #b8a8f5, #8f7ae0.
Which colors in Lavender Milk work for text?
The strongest pair is #f5f3ff and #8f7ae0 with a contrast ratio of 3.18:1 (AA large).