Color Reference · Lilac Haze

#D8D2EC

oklch(87.7% 0.036 296)

HEX
#D8D2EC
OKLCH
oklch(87.7% 0.036 296)
RGB
rgb(216, 210, 236)
HSL
hsl(254deg 41% 87%)
Relative Luminance
Y = 0.6675

Using #D8D2EC as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.46:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 12.2:1
AAA
OKLCH AA text-on-white fix: #767188 (4.68:1)Open Checker →

Using #D8D2EC as Button / Surface Fill

White ink (#FFFFFF) on #D8D2EC
Contrast ratio 1.46:1
Fail
Dark ink (#0F172A) on #D8D2EC
Contrast ratio 12.2:1
AAA

Recommended accessible ink on #D8D2EC: #0F172A.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #D8D2EC