Lavender color #E6E6FA
rgb(230, 230, 250) · oklch(93.1% 0.027 285.9)
Lavender (#E6E6FA) is a very light, strong, cool pink. It mixes 90% red, 90% green and 98% blue, with a perceived lightness of 93.1% in OKLCH. Black text reads best on it (17.06:1 vs 1.23:1). The closest other CSS color is Misty Rose (#FFE4E1). For people with tritanopia it shifts the most, toward #E2E9EC.
Lavender color codes
| HEX | |
|---|---|
| RGB | |
| HSL | |
| HSV / HSB | |
| OKLCH | |
| CMYK | |
| CSS keyword |
Click a value to copy it. Convert any other color with the color converter.
Shades, tints and tones of lavender
Shades mix lavender with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.
Tints (lighter)
Shades (darker)
Tones (muted)
Lavender as a UI color scale (50–950)
An 11-step scale for design systems, with lavender placed at step 100. Copy it as a Tailwind v4 theme below.
Colors that go with lavender
Harmonies are computed on the OKLCH hue wheel, keeping lavender’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.
Complementary
EditThe base color and the hue directly opposite it. Maximum contrast; use one as the accent.
Split complementary
EditThe base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.
Tetradic (rectangle)
EditTwo complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.
Is lavender accessible? Contrast with white and black
1.23:1
AA fail AA large fail AAA fail
17.06:1
AA pass AA large pass AAA pass
- As a background, lavender works best with black text.
- For body text on white, use the darker variant (the closest color that passes AA, 4.5:1).
How lavender looks with color blindness
Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.
#e2e8fb Red-blind. Reds look dark and brownish; red and green are easily confused.
#e1e7f9 Green-blind, the most common strong form. Red, green, orange and brown look similar.
#e2e9ec Blue-blind and rare. Blue and green are confused, as are yellow and pink.
#e8e8e8 Total color blindness, very rare. Only lightness differences are visible.
Colors similar to lavender
The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).
Use lavender in CSS and Tailwind
CSS custom properties
:root {
--lavender: #e6e6fa;
--lavender-rgb: 230 230 250;
}
.text-lavender { color: var(--lavender); }
.bg-lavender { background-color: var(--lavender); }
Tailwind v4 theme
@theme {
--color-lavender-50: #f7f7f7;
--color-lavender-100: #e6e6fa;
--color-lavender-200: #d9d9e8;
--color-lavender-300: #bdbce3;
--color-lavender-400: #9b97e4;
--color-lavender-500: #8072e5;
--color-lavender-600: #6b4fe0;
--color-lavender-700: #553abb;
--color-lavender-800: #42328b;
--color-lavender-900: #332a66;
--color-lavender-950: #1d1a3a;
}
Make a gradient from lavender: open the gradient generator.
Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.