Color Reference · Amethyst Violet

#8A6ED1

oklch(60.9% 0.147 295)

HEX
#8A6ED1
OKLCH
oklch(60.9% 0.147 295)
RGB
rgb(138, 110, 209)
HSL
hsl(257deg 52% 63%)
Relative Luminance
Y = 0.2116

Using #8A6ED1 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.01:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.45:1
AA Large
OKLCH AA text-on-white fix: #7D60C2 (4.86:1)Open Checker →

Using #8A6ED1 as Button / Surface Fill

White ink (#FFFFFF) on #8A6ED1
Contrast ratio 4.01:1
AA Large
Dark ink (#0F172A) on #8A6ED1
Contrast ratio 4.45:1
AA Large

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