Color Reference · Cosmic Dusk

#78237C

oklch(42.6% 0.16 326)

HEX
#78237C
OKLCH
oklch(42.6% 0.16 326)
RGB
rgb(120, 35, 124)
HSL
hsl(297deg 56% 31%)
Relative Luminance
Y = 0.0665

Using #78237C as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 9.01:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.98:1
Fail

Using #78237C as Button / Surface Fill

White ink (#FFFFFF) on #78237C
Contrast ratio 9.01:1
AAA
Dark ink (#0F172A) on #78237C
Contrast ratio 1.98:1
Fail

Recommended accessible ink on #78237C: #FFFFFF.

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 #78237C