TintShelf
Interface

Lavender Color Code: Hex #E6E6FA

The hex code for Lavender is #E6E6FA (the CSS keyword lavender). Lavender RGB code: rgb(230, 230, 250). The xkcd color survey gives #C79FEF instead, which looks clearly different; both codes are below with their source.

CSS Color 4#E6E6FATop: the code browsers use
meodai color-name-list#B56EDCBelow: compare edge to edge

Lavender color codes: each Lavender hex code in every format

HEX#E6E6FA
RGBrgb(230, 230, 250)
HSLhsl(240, 67%, 94%)
OKLCHoklch(93.1% 0.027 285.9)
LABlab(91.7 2.8 -9.7)
CMYKcmyk(8%, 8%, 0%, 2%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
3 different ones in 3 color lists; they look clearly different
Family
white
Contrast
1.23:1 with white, 17.06:1 with black
CSS keyword
lavender
Character
very light, near-neutral
Readable text on it
black (AA)

The web color lavender is the color of the central part of the lavender flower; lavender is recorded as a color term in English from 1705.

A very light, almost neutral tint. In code, lavender gives exactly this web value. If you mean the color as people usually picture the name, the survey value #C79FEF is closer: it is darker and more vivid.

Black text reads best on it; white text does not pass WCAG AA. Light versions fade to white quickly, so for backgrounds use it near full strength. Next to Ghost White, its closest named neighbour, it looks darker, more vivid and neither warmer nor cooler; beside Alice Blue it looks darker, more vivid and neither warmer nor cooler.

Colors that go with Lavender

Complementary: the opposite of Lavender

Open in generator

  • #E6E6FABlack text 17.06:1
  • #EAEAD5Black text 17.23:1
  • #F1F1FCBlack text 18.73:1
  • #919184Black text 6.59:1

Analogous

Open in generator

  • #DDE9FBBlack text 17.12:1
  • #E6E6FABlack text 17.06:1
  • #EFE3F5Black text 16.98:1
  • #F5F5FDBlack text 19.36:1

Triadic

Open in generator

  • #E6E6FABlack text 17.06:1
  • #F9E3D9Black text 17.02:1
  • #D8EEE4Black text 17.27:1
  • #F9F9FEBlack text 20.01:1

Monochrome

Open in generator

  • #404046White text 10.30:1
  • #8E8E9BBlack text 6.49:1
  • #E6E6FABlack text 17.06:1
  • #EDEDFCBlack text 18.12:1
  • #F5F5FDBlack text 19.36:1

With neutrals

Open in generator

  • #E6E6FABlack text 17.06:1
  • #F9F9FEBlack text 20.01:1
  • #1D1D21White text 16.80:1
  • #9D9DA3Black text 7.79:1

How tints, shades and harmonies are calculated

Preview

Heading on Lavender

Body text on this color, 17.06:1.

Button

Heading in Lavender

Text in this color on white, 1.23:1.

Button

Tints and shades

  1. #F9F9FE
  2. #F5F5FD
  3. #F1F1FC
  4. #EDEDFC
  5. #EAEAFB
  6. #E6E6FA
  7. #B9B9C9
  8. #8E8E9B
  9. #66666F
  10. #404046
  11. #1D1D21

WhiteLavenderBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.