#9E52AC

Closest named color: Amethyst (#9B5FC0). oklch(56.5% 0.155 321.2), rgb(158, 82, 172).

Aa

White text reads best on this color (4.93:1).

About this color

#9E52AC is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.155 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.038 away. White text reads best on it, at 4.93:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.155)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.25:1
White text4.93:1

Values

HEX#9E52AC
RGBrgb(158, 82, 172)
HSLhsl(291, 35%, 50%)
OKLCHoklch(56.5% 0.155 321.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #9E52AC 4.93:1 AA Lc -79.2 Fine for body text
Black text on #9E52AC 4.25:1 AA large text Lc 30.3 Non-text elements, placeholder text
#9E52AC text on white 4.93:1 AA Lc 73.8 Content text, not long reading
#9E52AC text on black 4.25:1 AA large text Lc -27.9 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #F8F3F9

    oklch(97% 0.01 320.5)

  2. Step 100

    100

    #F0E6F2

    oklch(93.6% 0.019 320.6)

  3. Step 200

    200

    #E5D1E9

    oklch(88.4% 0.039 320.6)

  4. Step 300

    300

    #D6B2DC

    oklch(80.8% 0.07 321.5)

  5. Step 400

    400

    #C189CB

    oklch(70.8% 0.112 321.3)

  6. Step 500

    500

    #B06ABD

    oklch(63.2% 0.142 321.2)

  7. Step 600

    600 (this color)

    #9E52AC

    oklch(56.5% 0.155 321.2)

  8. Step 700

    700

    #843F91

    oklch(49% 0.145 321.1)

  9. Step 800

    800

    #6C3576

    oklch(42.8% 0.12 321.3)

  10. Step 900

    900

    #572F5F

    oklch(37.7% 0.092 320.8)

  11. Step 950

    950

    #331C38

    oklch(27% 0.059 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#9E52AC with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#436BAF0.145
Deuteranopia (no green cones)#5B73A90.128
Tritanopia (no blue cones)#9F5E770.096
Achromatopsia (no color)#7070700.156

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #9E52AC

    #9E52AC

    oklch(56.5% 0.155 321.2)

  • #378B2B

    #378B2B

    oklch(56.5% 0.155 141.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E52AC

    #9E52AC

    oklch(56.5% 0.155 321.2)

  • #7961C8

    #7961C8

    oklch(56.5% 0.154 291.4)

  • #B64881

    #B64881

    oklch(56.5% 0.155 351)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #9E52AC

    #9E52AC

    oklch(56.5% 0.155 321.2)

  • #797C00

    #797C00

    oklch(56.5% 0.125 111.5)

  • #008A6D

    #008A6D

    oklch(56.4% 0.11 171.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E52AC

    #9E52AC

    oklch(56.5% 0.155 321.2)

  • #986D00

    #986D00

    oklch(56.4% 0.116 81.2)

  • #00868D

    #00868D

    oklch(56.4% 0.096 201.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E52AC

    #9E52AC

    oklch(56.5% 0.155 321.2)

  • #B75700

    #B75700

    oklch(56.6% 0.147 51.3)

  • #378B2B

    #378B2B

    oklch(56.5% 0.155 141.3)

  • #0081AD

    #0081AD

    oklch(56.6% 0.114 231.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #9E52AC, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #9E52AC in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.