Color Reference · Royal Lavender

#6A2FA6

oklch(45% 0.181 302)

HEX
#6A2FA6
OKLCH
oklch(45% 0.181 302)
RGB
rgb(106, 47, 166)
HSL
hsl(270deg 56% 42%)
Relative Luminance
Y = 0.0785

Using #6A2FA6 as Text Foreground

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

Using #6A2FA6 as Button / Surface Fill

White ink (#FFFFFF) on #6A2FA6
Contrast ratio 8.17:1
AAA
Dark ink (#0F172A) on #6A2FA6
Contrast ratio 2.18:1
Fail

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