Skip to content

Lavender

Lavender is a white with a faint blue tint. Hex code #E6E6FA.

Lavender#E6E6FA

Color codes

  • CSS namelavender
  • HEX#E6E6FA
  • RGBrgb(230 230 250)
  • HSLhsl(240 67% 94%)
  • HSB / HSVhsb(240, 8%, 98%)
  • OKLCHoklch(93.1% 0.027 285.9)
  • CMYKcmyk(8%, 8%, 0%, 2%)

White text

1.23:1 · fails WCAG

Black text

17.06:1 · passes WCAG AAA

Shades

50#F0F0FF
100#D2D2E6
200#B6B6C9
300#9B9AAD
400#808092
500#666677
600#4D4D5E
700#363645
800#20202E

Complementary

#E6E6FA
#EAEAD5

Analogous

#E6E6FA
#DDE9FB
#EFE3F5

Triadic

#E6E6FA
#F9E3D9
#D8EEE4

About this color

Lavender in CSS and design

Lavender is a white with a faint blue tint. Lavender is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.

Use it in CSS by name or by any of its codes; these all give the same color:

color: lavender;
color: #E6E6FA;
color: rgb(230 230 250);
color: hsl(240 67% 94%);

For text on lavender, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.

Frequently asked questions

What is the hex code for lavender?

#E6E6FA. In CSS you can also use the keyword lavender, which works in every browser.

What is lavender in RGB and HSL?

In RGB it is rgb(230 230 250), in HSL hsl(240 67% 94%). For print, cmyk(8%, 8%, 0%, 2%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on lavender?

Black text works better: it has a contrast ratio of 17.06:1 and passes WCAG AAA. White text reaches 1.23:1.

Which colors go with lavender?

Its complementary color is #EAEAD5, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #DDE9FB and #EFE3F5. The palette generator builds more combinations.