Color Reference · Iris Twilight

#5E35AD

oklch(45% 0.18 294)

HEX
#5E35AD
OKLCH
oklch(45% 0.18 294)
RGB
rgb(94, 53, 173)
HSL
hsl(261deg 53% 44%)
Relative Luminance
Y = 0.0794

Using #5E35AD as Text Foreground

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

Using #5E35AD as Button / Surface Fill

White ink (#FFFFFF) on #5E35AD
Contrast ratio 8.11:1
AAA
Dark ink (#0F172A) on #5E35AD
Contrast ratio 2.2:1
Fail

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