Skip to content
PantoneTools
blue
CSS Named Colors

Lavender

lavender · #E6E6FA

HEX

#E6E6FA

RGB

rgb(230, 230, 250)

CMYK

cmyk(8%, 8%, 0%, 2%)

HSL

hsl(240, 67%, 94%)

LAB

lab(91.8, 3.7, -9.7)

What is Lavender?

Lavender is the lavender reference in the CSS Named Colors. Its sRGB value is #E6E6FA (rgb 230, 230, 250). It sits in the blue family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Lavender as a background.

Black text on this color

Sample text · 17.06 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.23 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Lavender

An 11-step tonal scale derived from Lavender (#E6E6FA). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FDFDFF

50

#FDFDFF

#FDFDFF

Copied #FBFBFE

100

#FBFBFE

#FBFBFE

Copied #F7F7FD

200

#F7F7FD

#F7F7FD

Copied #F3F3FD

300

#F3F3FD

#F3F3FD

Copied #ECECFB

400

#ECECFB

#ECECFB

Copied #E6E6FA

500

#E6E6FA

#E6E6FA

Copied #C4C4D5

600

#C4C4D5

#C4C4D5

Copied #9696A3

700

#9696A3

#9696A3

Copied #686871

800

#686871

#686871

Copied #3A3A3F

900

#3A3A3F

#3A3A3F

Copied #1C1C1E

950

#1C1C1E

#1C1C1E

Lighter tints (mixed with white)

Copied #EAEAFB

15%

#EAEAFB

Copied #EEEEFC

30%

#EEEEFC

Copied #F2F2FC

45%

#F2F2FC

Copied #F5F5FD

60%

#F5F5FD

Copied #F9F9FE

75%

#F9F9FE

Darker shades (mixed with black)

Copied #D6D6E9

15%

#D6D6E9

Copied #C4C4D6

30%

#C4C4D6

Copied #B0B0C0

45%

#B0B0C0

Copied #9999A6

60%

#9999A6

Copied #7B7B86

75%

#7B7B86

Color harmonies for Lavender

Classic color-theory harmonies derived from rotating the hue of Lavender. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #E6E6FA

#E6E6FA

#E6E6FA

Copied #FAFAE5

#FAFAE5

#FAFAE5

Triadic

Three colors 120° apart

Copied #E6E6FA

#E6E6FA

#E6E6FA

Copied #FAE5E5

#FAE5E5

#FAE5E5

Copied #E5FAE5

#E5FAE5

#E5FAE5

Analogous

Two neighbors ±30° on the wheel

Copied #E5F0FA

#E5F0FA

#E5F0FA

Copied #E6E6FA

#E6E6FA

#E6E6FA

Copied #F0E5FA

#F0E5FA

#F0E5FA

Split-complementary

Base + two colors flanking its complement

Copied #E6E6FA

#E6E6FA

#E6E6FA

Copied #FAF0E5

#FAF0E5

#FAF0E5

Copied #F0FAE5

#F0FAE5

#F0FAE5

Tetradic

Two complementary pairs

Copied #E6E6FA

#E6E6FA

#E6E6FA

Copied #FAE5FA

#FAE5FA

#FAE5FA

Copied #FAFAE5

#FAFAE5

#FAFAE5

Copied #E5FAE5

#E5FAE5

#E5FAE5

Square

Four colors evenly spaced 90° apart

Copied #E6E6FA

#E6E6FA

#E6E6FA

Copied #FAE5F0

#FAE5F0

#FAE5F0

Copied #FAFAE5

#FAFAE5

#FAFAE5

Copied #E5FAF0

#E5FAF0

#E5FAF0

Lavender in every color space

Full conversion of Lavender across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#E6E6FA

RGB

rgb(230, 230, 250)

CMYK

cmyk(8%, 8%, 0%, 2%)

HSL

hsl(240, 67%, 94%)

HSV

hsv(240, 8%, 98%)

HWB

hwb(240 90% 2%)

CIE Lab

lab(91.8 3.7 -9.7)

OKLCH

oklch(93.1% 0.027 285.9)

XYZ (D65)

xyz(78.18, 80.32, 101.81)

Copy-ready code for Lavender

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #E6E6FA;
background-color: #E6E6FA;

CSS variable

:root {
  --color-lavender: #E6E6FA;
}

Tailwind config

// tailwind.config.js
colors: {
  'lavender': '#E6E6FA',
}

Sass

$color-lavender: #E6E6FA;

Swift UIColor

UIColor(red: 0.902, green: 0.902, blue: 0.980, alpha: 1.0)

Android XML

<color name="lavender">#E6E6FA</color>

Closest match in every color system

The nearest Lavender equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in CSS Named Colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #F4F4F4

RAL 9003

#F4F4F4

Signal white

Copied #F6F6F6

RAL 9016

#F6F6F6

Traffic white

Copied #D7D7D7

RAL 7035

#D7D7D7

Light grey

Copied #D7D7D7

RAL 9018

#D7D7D7

Papyrus white

Copied #FFFFFF

RAL 9010

#FFFFFF

Pure white

Copied #FDF4E3

RAL 9001

#FDF4E3

Cream

FAQ about Lavender

What is the HEX code for Lavender?

Lavender (lavender) has the HEX code #E6E6FA. In RGB it is rgb(230, 230, 250), and in CMYK it is cmyk(8%, 8%, 0%, 2%).

What is the OKLCH value of Lavender?

Lavender converts to oklch(0.931 0.027 285.9). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Lavender accessible for body text?

Used as a background, Lavender has a contrast ratio of 17.06:1 with black text and 1.23:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Lavender?

The closest Pantone reference to Lavender by ΔE2000 perceptual distance is Pantone Cool Gray 1 C (#D9D9D6). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Lavender?

The closest RAL Classic reference to Lavender by ΔE2000 distance is RAL 9003 (Signal white, #F4F4F4). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Lavender?

The complementary color (180° opposite on the HSL color wheel) of Lavender is #FAFAE5. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

CSS Named Colors (CSS Color Module Level 4)

The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.

Source type
derived
Confidence
high
License
W3C permissive document license
Last reviewed
2026-05-24

Workflow tags

css
web-standard
named-keyword
blue

CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.

CSS Named Colors · Lavender — #E6E6FA | PantoneTools