lavender (#E6E6FA)

lavender is a CSS named color with the hex code #E6E6FA, rgb(230, 230, 250). It is a very pale, saturated indigo.

lavender#E6E6FA
Keywordlavender
HEX#e6e6fa
RGBrgb(230, 230, 250)
HSLhsl(240, 67%, 94%)

Full #E6E6FA details: palettes, shades, color-blind view →

Description

Lavender has a hue of 240°, saturation 67% and lightness 94%, which places it in the blue family. Its strongest channel is blue (250).

Using lavender in CSS

.title { color: lavender; }
.box   { background: lavender; border-color: #e6e6fa; }
.soft  { background: rgb(230 230 250 / 20%); }   /* lavender at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
ghostwhite#f8f8ff248, 248, 2556.5
aliceblue#f0f8ff240, 248, 2558.4
lavenderblush#fff0f5255, 240, 2458.5
gainsboro#dcdcdc220, 220, 2209.3
whitesmoke#f5f5f5245, 245, 2459.4
snow#fffafa255, 250, 2509.5
lightgray#d3d3d3211, 211, 21110
white#ffffff255, 255, 25510.1

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 1.23:1; with black text: 17.06:1. Black body text on lavender meets WCAG AA; white text does not.

Frequently asked questions

What is the hex code for lavender?
#E6E6FA.
What colors are similar to lavender?
ghostwhite (#f8f8ff), aliceblue (#f0f8ff), lavenderblush (#fff0f5).