Swatchproof

Lavender #E6E6FA

Lavender is one of the named colours in CSS, written lavender. Black text reaches 17.06:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordlavender
HEX#E6E6FA
RGBrgb(230 230 250)
HSLhsl(240 67% 94%)
OKLCHoklch(93.1% 0.027 285.9)
White text1.23:1 · body text AA Fail
Black text17.06:1 · body text AA Pass

Colours that go with Lavender

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Nile Blue (#BCE4E5), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Lavender itself.

ColourHEXContrast with LavenderBody text AA
Deep Slate Olive#25312211.07:1Pass
Hay's Russet#7933277.37:1Pass
Blue Violet#6450A15.33:1Pass
Antwarp Blue#0071904.53:1Pass
Etruscan Red#C553473.63:1Fail
Dull Viridian Green#0094653.15:1Fail
Raw Sienna#BB71253.10:1Fail
Green Blue#0991973.10:1Fail
Benzol Green#00978D2.94:1Fail
Peach Red#F15A302.73:1Fail
Light Brown Drab#B593922.26:1Fail
Sea Green#00B49B2.13:1Fail
Salvia Blue#97ACC81.89:1Fail
Ecru#C2AE931.75:1Fail
Pyrite Yellow#CAB3561.69:1Fail
Venice Green#62C6BF1.65:1Fail
Olive Buff#C1C4941.47:1Fail
Cream Yellow#FDBF681.33:1Fail
Lemon Yellow#F8ED431.01:1Fail

Palettes with Nile Blue

Shades and tints of Lavender

Nine lightness steps in OKLCH that keep the hue of Lavender. Chroma is reduced only where sRGB cannot show it.

:root {
  --lavender-100: #F4F4FF;
  --lavender-200: #E2E2F6;
  --lavender-300: #CCCCDF;
  --lavender-400: #AFAFC2;
  --lavender-500: #9090A2;
  --lavender-600: #707081;
  --lavender-700: #545364;
  --lavender-800: #393948;
  --lavender-900: #20202E;
}

Text that keeps Lavender on screen

Text #20202E on #E6E6FA reaches 13.05:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours