Color Reference · Lilac Haze

#D4B8FF

oklch(83.1% 0.102 302)

HEX
#D4B8FF
OKLCH
oklch(83.1% 0.102 302)
RGB
rgb(212, 184, 255)
HSL
hsl(264deg 100% 86%)
Relative Luminance
Y = 0.555

Using #D4B8FF as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.74:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 10.29:1
AAA
OKLCH AA text-on-white fix: #8065A6 (4.85:1)Open Checker →

Using #D4B8FF as Button / Surface Fill

White ink (#FFFFFF) on #D4B8FF
Contrast ratio 1.74:1
Fail
Dark ink (#0F172A) on #D4B8FF
Contrast ratio 10.29:1
AAA

Recommended accessible ink on #D4B8FF: #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 #D4B8FF