Color Reference · Amethyst Violet

#8A54E5

oklch(58.1% 0.209 296)

HEX
#8A54E5
OKLCH
oklch(58.1% 0.209 296)
RGB
rgb(138, 84, 229)
HSL
hsl(262deg 74% 61%)
Relative Luminance
Y = 0.174

Using #8A54E5 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.69:1
AA
Sample text on Slate (#0F172A)
Contrast ratio 3.81:1
AA Large

Using #8A54E5 as Button / Surface Fill

White ink (#FFFFFF) on #8A54E5
Contrast ratio 4.69:1
AA
Dark ink (#0F172A) on #8A54E5
Contrast ratio 3.81:1
AA Large

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