Home / Colors / Lavender hex code

Lavender hex code

A very pale bluish purple.

#E6E6FA Lavender
HEX#E6E6FA
RGBrgb(230, 230, 250)
HSLhsl(240, 67%, 94%)
HSVhsv(240, 8%, 98%)
CMYKcmyk(8%, 8%, 0%, 2%)
Advertisement

About lavender

A very pale bluish purple. This is the CSS lavender. Its hex code is #E6E6FA, which is rgb(230, 230, 250): 230 red, 230 green and 250 blue on a scale of 0 to 255.

Other values you'll see for lavender: #B57EDC (floral lavender, closer to the flower).

Lavender is a cool color.

Lavender tints and shades

Lighter tints (mixed with white) and darker shades (mixed with black) of lavender. Click any of them to copy its hex code.

Colors that go with lavender

Complementary

The opposite color on the color wheel, for strong contrast.

Analogous

Neighbors on the color wheel, for a calm, matching look.

Triadic

Three colors evenly spaced around the wheel, for a balanced, lively palette.

Split complementary

The two colors either side of the complement: contrast without clashing.

Text on lavender

White text

1.23:1 · Fails for text

Black text

17.06:1 · Passes AAA for all text

For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). Black text is the better choice on lavender. Test other combinations with the contrast checker.

Using lavender in CSS

.element {
  color: #E6E6FA;
  background-color: rgb(230 230 250);
  border-color: hsl(240 67% 94%);
}
Advertisement

Frequently asked questions

What is the hex code for lavender?

Lavender is #E6E6FA. In RGB it's rgb(230, 230, 250), and in HSL it's hsl(240, 67%, 94%).

What colors go with lavender?

Its complementary color is #FAFAE6, which gives strong contrast. For a softer look, use analogous colors #E6F0FA and #F0E6FA. Lavender also pairs well with charcoal or black.

Is lavender warm or cool?

Lavender is a cool color.

Should I use white or black text on lavender?

Use black text. Its contrast ratio on lavender is 17.06:1, versus 1.23:1 for white.

Similar colors

See all popular colors · All HTML color names · Open lavender in the color picker

Advertisement