Color Reference · Amethyst Violet

#7E5CD6

oklch(57.1% 0.18 293)

HEX
#7E5CD6
OKLCH
oklch(57.1% 0.18 293)
RGB
rgb(126, 92, 214)
HSL
hsl(257deg 60% 60%)
Relative Luminance
Y = 0.1694

Using #7E5CD6 as Text Foreground

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

Using #7E5CD6 as Button / Surface Fill

White ink (#FFFFFF) on #7E5CD6
Contrast ratio 4.78:1
AA
Dark ink (#0F172A) on #7E5CD6
Contrast ratio 3.73:1
AA Large

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