Lavender Color Code (#e6e6fa)

Lavender is #e6e6fa in hex and rgb(230, 230, 250) — a very light blue. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Lavender
#e6e6fa
CSS namelavender
Hex#e6e6fa
RGBrgb(230, 230, 250)
HSLhsl(240 67% 94%)
HWBhwb(240 90% 2%)
CMYK8%, 8%, 0%, 2%

Tints and shades

Color harmonies

About Lavender

Lavender (lavender) is a very light, vivid blue with the hex code #e6e6fa, or rgb(230, 230, 250). In HSL it sits at a hue of 240°, 67% saturation and 94% lightness. It is one of the 148 named colors every browser understands, so you can write color: lavender; instead of the hex value.

Using Lavender for text and backgrounds

PairingContrast ratioWCAG
Lavender text on white1.23 : 1fails
Lavender text on black17.06 : 1AAA

On a lavender background, use black text (17.06 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: lavender;               /* or #e6e6fa */
  background-color: #e6e6fa;
  border: 1px solid rgb(230 230 250 / 50%);
}

Similar named colors

Alice Blue (#f0f8ff), White Smoke (#f5f5f5), Ghost White (#f8f8ff), Light Cyan (#e0ffff), Lavender Blush (#fff0f5), Azure (#f0ffff).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for lavender?
#e6e6fa — that is rgb(230, 230, 250) and hsl(240, 67%, 94%). In CSS you can also just write lavender.
Is lavender text readable on white?
Its contrast ratio on white is 1.23 : 1, which fails WCAG — use it for decoration or on a dark background instead.
What colors go well with lavender?
Its complementary color is #fafae5; analogous colors #e5f0fa and #f0e5fa sit next to it on the color wheel.