Huebook

Lavender (CSS)

Lavender (CSS) is a very light, saturated blue-violet color with the hex code #E6E6FA (hue 240°, saturation 67%, lightness 94%). It is also the CSS named color lavender.

#E6E6FA
NameHEXRGBHSLCMYKOKLCH
Lavender (CSS)#E6E6FA230, 230, 250240°, 67%, 94%8, 8, 0, 293.1% 0.027 286

Contrast with white text 1.23:1, with black text 17.06:1 — use black text on Lavender (CSS).

lavender is one of the 148 named colors in CSS, with exactly this value, so color: lavender works in any browser without a hex code.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Lavender (CSS)

Move the sliders to make Lavender (CSS) lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Lavender (CSS)
  • HEX#E6E6FA
  • RGBrgb(230 230 250)
  • HSLhsl(240 67% 94%)

Variations of Lavender (CSS)

Text on Lavender (CSS)

White textThe quick brown fox1.23:1 · AA fail · AAA fail
Black textThe quick brown fox17.06:1 · AA pass · AAA pass

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Lavender (CSS) with color blindness

Normal #E6E6FA
Protanopia #E2E8FB
Deuteranopia #E1E7F9
Tritanopia #E2E9EC

How Lavender (CSS) appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#D5D5F7
#9595EA
#5555DD
#2626BF
#1A1A7F
#0D0D40

Colors that go with Lavender (CSS)

Six color schemes built on Lavender (CSS) with classic harmony rules. The complementary scheme pairs it with Elderflower (#FBF9E8), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Lavender (CSS)

Similar very light blue colors

Questions

What is the hex code for Lavender (CSS)?

#E6E6FA — RGB 230, 230, 250, HSL 240°, 67%, 94%.

Is Lavender (CSS) a warm or cool color?

Cool — its hue sits at 240° on the color wheel.