CSS Named Color Reference

Lavender Color Code

Lavender·#E6E6FA

Blue FamilyCoolLight toneMid saturationoklch(93.1% 0.027 286)
HEX
#E6E6FAPrimary token
RGB
rgb(230, 230, 250)Screen values
HSL
hsl(240 67% 94%)Hue and lightness
CMYK
8, 8, 0, 2Print handoff
LAB
92, 4, -10Perceptual reference
OKLCH
oklch(93.1% 0.027 286)Modern perceptual

Lavender is a light, balanced CSS named color at #E6E6FA. If you searched for lavender hex code, E6E6FA, or lavender RGB, this page gives the exact color value, conversion formats, contrast checks, nearby colors, and links into the lookup and converter workflows.

Best text colorDark text
Body text contrast13.94:1
Best UseProduct UI accents, links, selected states, and dependable interface structure

Tonal Scale

100#FBFBFE
300#F4F4FD
500#EBEBFB
600#E6E6FA
800#A6A6B4

Contrast Checks

White text on this color

Buttons, badges, and filled actions.

1.23:1Needs more separation

Dark text on this color

Large headings and selective UI.

13.94:1AAA-level contrast

This color on light surface

Links, borders, and icons on light UI.

1.17:1Needs more separation
Best text colorDark textContrast 13.94:1

Professional Reference

OKLCHoklch(93.1% 0.027 286)
Relative Luminance0.8032
Source TypeCSS Named Color
Classification
Blue FamilyCoolLight toneMid saturation
Source Context
Source Type
CSS Named Color
System
CSS
Closest Matches
Tailwind Violet 100Tailwind Indigo 100Material Deep Purple 50
Color Notes
  • Lavender is kept as an exact CSS named color for #E6E6FA.
  • Queries for lavender color code, E6E6FA, or lavender RGB usually need the value first, then contrast and implementation context.

Accessibility Matrix

White text on this color

White text placed on the current color.

1.23:1Needs more separation

Dark text on this color

Dark text or headings on the current color.

13.94:1AAA

This color on light surface

Use this color for links, strokes, or icons on light UI.

1.17:1Needs more separation

This color on dark surface

Use this color inside dark shells for strokes, tags, or icons.

13.94:1AAA
Best text colorDark textContrast 13.94:1 · AAA

Where It Works

  • Use it for links, active navigation, selected states, and product accents.
  • Check contrast before using saturated blues behind small white text.
  • Pair with white, cool neutrals, and a lighter or darker blue from the same family.

Reference Notes

Last Updated
2026-09-03
Source Library
CSS Standard Colors
Methodology
Verified source values + site guidance
Color Notes

Lavender is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.

Hue Family

Trust-building blues for enterprise and SaaS.

Source Collections
CSS Named Colors

Related Colors

Palette Starting Points

Implementation Snippets

CSS Variables
:root {
  --color-lavender: #E6E6FA;
  --color-lavender-rgb: 230 230 250;
}
Utility Class
class="bg-[#E6E6FA] text-white"
class="hover:bg-[#A6A6B4] ring-1 ring-[#E6E6FA]"
JSON Token
{
  "lavender": "#E6E6FA",
  "lavenderRgb": [230, 230, 250],
  "lavenderHsl": [240, 67, 94]
}