Color codes

Lavender hex code #E6E6FA

#E6E6FA is lavender as CSS names it: a pale, cool lilac that is close to white.

Lavender #E6E6FA CSS named color: lavender

Lavender color codes

HEX#E6E6FA
RGBrgb(230, 230, 250)
HSLhsl(240, 67%, 94%)
CMYKcmyk(8%, 8%, 0%, 2%)
More formats and code
HSV / HSBhsv(240, 8%, 98%)
OKLCHoklch(0.931 0.027 285.9)
RGB numbers230, 230, 250
CSScolor: #e6e6fa;
Tailwindbg-[#e6e6fa]
SwiftUIColor(red: 0.902, green: 0.902, blue: 0.980)
AndroidColor.parseColor("#E6E6FA")

CMYK here is a plain formula. Ask your print shop for the numbers their press uses.

Open in a tool: ConverterShade generatorContrast checkerColor wheelPalette generatorColor blindness simulator

Lighter and darker lavender

Each step mixes in more white or black, in even steps for the eye. Tap a swatch to copy its code.

Lighter

Darker

Colors that go with lavender

Complementary

Across the color wheel. Strong contrast, good for one button or one word.

Analogous

Its neighbors on the wheel. Calm, easy to use together.

Triadic

Three colors evenly spread. Lively, best with one in charge.

Pairs well in a brand

Lavender and text

Black text reads best on lavender: 17.06:1. The same numbers hold for lavender text on a white or a black page. Body text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1.

TextContrastWCAG
AaWhite text on lavender1.23:1Fails
AaBlack text on lavender17.06:1AAA
Text in the sample post
How lavender looks with color blindness

Other lavender hex codes

The CSS lavender is much paler than the flower. The color of lavender fields is often written as #B57EDC, and a grayer lavender purple as #967BB6. CSS also has thistle #D8BFD8 and lavender blush #FFF0F5, a pink-white with a hint of lavender.

  • LavenderCSS named color: lavender. The code on this page#E6E6FA
  • Lavender (floral)Common variant#B57EDC
  • Lavender purpleCommon variant#967BB6
  • ThistleCSS named color: thistle#D8BFD8
  • PlumCSS named color: plum#DDA0DD
  • Lavender blushCSS named color: lavenderblush#FFF0F5

Lavender in a small business brand

Lavender is soft and calming: spas, massage, yoga, candles and baby products. The pale CSS lavender works as a page or post background with dark text, close to white but warmer to look at. The floral lavender is strong enough for shapes and illustrations. Pair either with a deep purple or charcoal for text.

FAQ

What is the hex code for lavender?

Lavender is #E6E6FA as the CSS named color lavender. In RGB that is rgb(230, 230, 250), and in CMYK cmyk(8%, 8%, 0%, 2%).

What text color goes on lavender?

Black text, at a contrast of 17.06:1, which passes WCAG AAA. White text reaches 1.23:1, too low for any text.

What is the hex code for lavender purple?

Lavender purple is often written as #967BB6. The floral lavender #B57EDC is brighter, and the CSS lavender #E6E6FA is almost white.

What is the difference between lavender and lilac?

They overlap. Lilac usually means a pinker, warmer pale purple, and lavender a bluer one. Neither has one standard code apart from the CSS lavender.

More color codes

All color codes

Keep your brand colors in one place

Add your brand colors once in Postfjord's design editor, under Settings, Brand, and every template can use them. Try it free.

Start free