Lavender Color

HEX #E6E6FA · rgb(230, 230, 250) · hsl(240, 67%, 94%)

Lavender color codes

Lavender is one of the named colors every browser understands. In CSS you can write it as lavender or #E6E6FA.

FormatValue
HEX#E6E6FA
RGBrgb(230, 230, 250)
HSLhsl(240, 67%, 94%)
CMYK8%, 8%, 0%, 2%
CSS namelavender
.example {
  color: lavender;
  background-color: #E6E6FA;
  border-color: rgb(230, 230, 250);
}

Colors that go with lavender

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#FAFAE6Complementary
#E6F0FAAnalogous
#F0E6FAAnalogous
#FAE6E6Triadic
#E6FAE6Triadic

Tints and shades of lavender

Tints mix the color with white; shades mix it with black.

#FDFDFF90% white
#F9F9FE75% white
#F5F5FD60% white
#F1F1FC45% white
#EEEEFC30% white
#EAEAFB15% white
#E6E6FABase
Lavender
#C4C4D515% black
#A1A1AF30% black
#7F7F8A45% black
#5C5C6460% black
#3A3A3F75% black
#17171990% black

Contrast and readability

Black text
17.06:1
passes AA and AAA
White text
1.23:1
fails

Use black text on lavender. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for lavender?

The hex code for lavender is #E6E6FA.

What is the RGB value of lavender?

Lavender is rgb(230, 230, 250): 230 red, 230 green and 250 blue on a 0 to 255 scale.

What color goes with lavender?

Its complementary color is #FAFAE6, which is closest to the named color old lace. Analogous and triadic matches are listed on this page.

Should text on lavender be black or white?

Use black text. The contrast ratio is 17.06:1 with black and 1.23:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.