#9C51AE

Closest named color: Amethyst (#9B5FC0). oklch(56.2% 0.158 319.6), rgb(156, 81, 174).

Aa

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

About this color

#9C51AE is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.158 and its hue 320°. 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.99:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.158)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.20:1
White text4.99:1

Values

HEX#9C51AE
RGBrgb(156, 81, 174)
HSLhsl(288, 36%, 50%)
OKLCHoklch(56.2% 0.158 319.6)

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 #9C51AE 4.99:1 AA Lc -79.6 Fine for body text
Black text on #9C51AE 4.20:1 AA large text Lc 29.9 Dividers and decoration only
#9C51AE text on white 4.99:1 AA Lc 74.2 Content text, not long reading
#9C51AE text on black 4.20:1 AA large text Lc -27.6 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

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E5D1EA

    oklch(88.5% 0.04 319.5)

  4. Step 300

    300

    #D5B2DE

    oklch(80.8% 0.072 319.3)

  5. Step 400

    400

    #C089CD

    oklch(70.8% 0.114 319.8)

  6. Step 500

    500

    #AF6AC0

    oklch(63.2% 0.145 319.5)

  7. Step 600

    600 (this color)

    #9C51AE

    oklch(56.2% 0.158 319.6)

  8. Step 700

    700

    #833F94

    oklch(49% 0.147 319.2)

  9. Step 800

    800

    #6B3578

    oklch(42.7% 0.121 319.5)

  10. Step 900

    900

    #572F61

    oklch(37.8% 0.095 319.4)

  11. Step 950

    950

    #331C39

    oklch(27.1% 0.06 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#9C51AE 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)#406AB10.146
Deuteranopia (no green cones)#5772AB0.130
Tritanopia (no blue cones)#9D5E780.098
Achromatopsia (no color)#6F6F6F0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C51AE

    #9C51AE

    oklch(56.2% 0.158 319.6)

  • #3A8A23

    #3A8A23

    oklch(56.2% 0.158 139.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C51AE

    #9C51AE

    oklch(56.2% 0.158 319.6)

  • #7560CA

    #7560CA

    oklch(56.1% 0.158 289.4)

  • #B54683

    #B54683

    oklch(56.2% 0.158 349.3)

Open the analogous palette in the generator

Split complementary

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

  • #9C51AE

    #9C51AE

    oklch(56.2% 0.158 319.6)

  • #7B7A00

    #7B7A00

    oklch(56.2% 0.122 109.2)

  • #008A6A

    #008A6A

    oklch(56.3% 0.113 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C51AE

    #9C51AE

    oklch(56.2% 0.158 319.6)

  • #996C00

    #996C00

    oklch(56.3% 0.117 79.8)

  • #00868B

    #00868B

    oklch(56.3% 0.096 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C51AE

    #9C51AE

    oklch(56.2% 0.158 319.6)

  • #B85400

    #B85400

    oklch(56.3% 0.15 49.4)

  • #3A8A23

    #3A8A23

    oklch(56.2% 0.158 139.7)

  • #0080A9

    #0080A9

    oklch(56.1% 0.111 229.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9C51AE.

Similar named colors

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

Use #9C51AE 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.