Lavender HEX Code
The HEX code for lavender is #E6E6FA. Lavender is a soft, pale purple color named after the lavender flower. It's calming, elegant, and popular in feminine designs and wellness branding.
Lavender Color Values
| Format | Value |
|---|---|
| HEX | #E6E6FA |
| RGB | rgb(230, 230, 250) |
| HSL | hsl(240, 67%, 94%) |
| CMYK | C:8 M:8 Y:0 K:2 |
Lavender Shades and Variations
| Shade | HEX | Description |
|---|---|---|
| Lavender Blush | #FFF0F5 | Pinkish |
| Lavender | #E6E6FA | CSS lavender |
| Thistle | #D8BFD8 | Grayish |
| Plum | #DDA0DD | Dusty purple |
| Orchid | #DA70D6 | Brighter |
| Violet | #EE82EE | More saturated |
Lavender in Design
Lavender conveys:
- Calm: Relaxing, peaceful
- Femininity: Soft, elegant
- Luxury: Refined, sophisticated
- Wellness: Spa, aromatherapy
Using Lavender in Design
``css
/* Lavender palette */
:root {
--lavender-light: #FFF0F5;
--lavender: #E6E6FA;
--lavender-dark: #D8BFD8;
}
/* Spa/wellness card */
.wellness-card {
background-color: #E6E6FA;
border: 1px solid #D8BFD8;
}
`
Lavender Color Palettes
| Theme | Primary | Secondary | Accent |
|---|---|---|---|
| Spa | #E6E6FA | #D8BFD8 | #9370DB |
| Wedding | #E6E6FA | #FFFFF0 | #DDA0DD |
| Feminine | #E6E6FA | #FFC0CB | #DA70D6 |
Lavender is ideal for beauty, wellness, wedding, and feminine brand designs.Lavender in Every Format
| Format | Value |
|---|---|
| HEX | #E6E6FA |
| RGB | rgb(230, 230, 250) |
| HSL | hsl(240, 67%, 94%) |
| CMYK | cmyk(8%, 8%, 0%, 2%) |
| Nearest Tailwind | indigo-100 (#E0E7FF) |
About This Colour
Lavender is #E6E6FA, a very pale purple. Like beige it functions as a background tint rather than an accent.
Will It Pass Contrast?
| Combination | Ratio | WCAG |
|---|---|---|
| Lavender text on white | 1.23:1 | fails |
| Lavender text on black | 17.06:1 | AAA |
| White text on lavender | 1.23:1 | fails |
WCAG AA needs 4.5:1 for body text and 3:1 for text above 18pt or 14pt bold. Lavender passes on black, so reserve it for dark backgrounds.Building a Palette Around It
| Role | Colour |
|---|---|
| Lighter (+20%) | #ffffff |
| Base | #E6E6FA |
| Darker (−20%) | #9090e9 |
| Complementary | #fafae5 |
| Triadic | #fae5e5, #e5fae5 |
Tints (toward white): #ececfb, #f3f3fd, #f9f9feShades (toward black): #adadbc, #73737d, #3a3a3f
Using It
`css
:root {
--lavender: #e6e6fa;
--lavender-light: #ffffff;
--lavender-dark: #9090e9;
}
.badge {
background: var(--lavender);
color: #fff;
}
`
Define the colour once as a custom property rather than repeating the hex. When the brand
changes — and it will — you edit one line instead of grepping a stylesheet.
A Full Ramp From This Colour
Design systems settle on a 50–900 scale because it covers backgrounds, borders, text and
states without anyone reaching outside the palette. Mixing toward white and black rather
than adjusting HSL lightness keeps more of the hue's character:
| Step | Colour | Contrast on white | Safe for |
|---|---|---|---|
| 50 | #F5F9FF | 1.06:1 | backgrounds and fills |
| 100 | #EBF3FE | 1.12:1 | backgrounds and fills |
| 200 | #CEE0FD | 1.34:1 | backgrounds and fills |
| 300 | #B1CDFB | 1.62:1 | backgrounds and fills |
| 400 | #76A8F9 | 2.40:1 | backgrounds and fills |
| 500 | #3B82F6 | 3.68:1 | large text, borders |
| 600 | #326FD1 | 4.85:1 | body text on white |
| 700 | #295BAC | 6.59:1 | body text on white |
| 800 | #204887 | 8.98:1 | body text on white |
| 900 | #183462 | 12.31:1 | body text on white |
The contrast column is the one that decides usage. Steps below 3:1 cannot carry text at
any size and belong in fills and dividers; steps at 4.5:1 and above are safe for body copy.Adjusting It
Base colour in HSL is hsl(217, 91%, 60%). Two useful moves:
`css
/* +10% lightness, same hue */
--lighter: #6da2f8;
/* −10% lightness */
--darker: #0b64f4;
``
Raising lightness also drops perceived saturation, so a lightened colour reads greyer than its numbers suggest. Adding 5–10% saturation alongside every 20% of lightness keeps the ramp looking like one hue rather than a fade to grey.