Skip to content

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

Edit

The base color and the hue directly opposite it. Maximum contrast; use one as the accent.

Analogous

Edit

Neighbors 30° either side on the hue wheel. Calm and cohesive, common in nature.

Triadic

Edit

Three hues spaced 120° apart. Vibrant but balanced; let one dominate.

Split complementary

Edit

The base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.

Tetradic (rectangle)

Edit

Two complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.

Monochromatic

Edit

One hue at different lightness levels. Safe, elegant, and easy to read.

Is lavender accessible? Contrast with white and black

Lavender text on white

1.23:1

AA fail AA large fail AAA fail

Lavender text on black

17.06:1

AA pass AA large pass AAA pass

Check lavender against any other color

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.

Protanopia: #e2e8fb
Red-blind. Reds look dark and brownish; red and green are easily confused.
Deuteranopia: #e1e7f9
Green-blind, the most common strong form. Red, green, orange and brown look similar.
Tritanopia: #e2e9ec
Blue-blind and rare. Blue and green are confused, as are yellow and pink.
Achromatopsia: #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).

ΔE 4.4 Misty Rose
#ffe4e1
ΔE 4.5 Gainsboro
#dcdcdc
ΔE 4.6 Lavender Blush
#fff0f5
ΔE 4.8 White Smoke
#f5f5f5

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.

More pink colors