#9A51E2

Closest named color: Purpley (#8756E4). oklch(59.2% 0.212 303.7), rgb(154, 81, 226).

Aa

Black text reads best on this color (4.64:1).

About this color

#9A51E2 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.212 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.034 away. Black text reads best on it, at 4.64:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.212)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.64:1
White text4.51:1

Values

HEX#9A51E2
RGBrgb(154, 81, 226)
HSLhsl(270, 71%, 60%)
OKLCHoklch(59.2% 0.212 303.7)

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 #9A51E2 4.51:1 AA Lc -76.2 Fine for body text
Black text on #9A51E2 4.64:1 AA Lc 33.3 Non-text elements, placeholder text
#9A51E2 text on white 4.51:1 AA Lc 70.8 Content text, not long reading
#9A51E2 text on black 4.64:1 AA Lc -30.9 Non-text elements, placeholder text

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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E0D1F6

    oklch(88.4% 0.053 303.7)

  4. Step 300

    300

    #CDB2F3

    oklch(80.9% 0.094 303.4)

  5. Step 400

    400

    #B586EE

    oklch(70.7% 0.154 303.6)

  6. Step 500

    500

    #A463E8

    oklch(63.1% 0.196 303.8)

  7. Step 600

    600 (this color)

    #9A51E2

    oklch(59.2% 0.212 303.7)

  8. Step 700

    700

    #7A35B9

    oklch(49.1% 0.197 303.7)

  9. Step 800

    800

    #632D96

    oklch(42.6% 0.164 303.7)

  10. Step 900

    900

    #512A77

    oklch(37.6% 0.128 304.2)

  11. Step 950

    950

    #2F1A46

    oklch(27% 0.081 303.5)

Export this scale for Tailwind in the Tailwind colors tool

#9A51E2 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)#0075E60.167
Deuteranopia (no green cones)#2276DF0.160
Tritanopia (no blue cones)#8C70920.156
Achromatopsia (no color)#7676760.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A51E2

    #9A51E2

    oklch(59.2% 0.212 303.7)

  • #6D8B00

    #6D8B00

    oklch(59.2% 0.146 123.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A51E2

    #9A51E2

    oklch(59.2% 0.212 303.7)

  • #5B69F9

    #5B69F9

    oklch(59.2% 0.213 273.7)

  • #C33CB1

    #C33CB1

    oklch(59.3% 0.212 333.8)

Open the analogous palette in the generator

Split complementary

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

  • #9A51E2

    #9A51E2

    oklch(59.2% 0.212 303.7)

  • #967B00

    #967B00

    oklch(59.1% 0.121 93.5)

  • #009651

    #009651

    oklch(59% 0.15 153.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A51E2

    #9A51E2

    oklch(59.2% 0.212 303.7)

  • #B46900

    #B46900

    oklch(59.2% 0.134 63.6)

  • #009284

    #009284

    oklch(59.3% 0.105 183.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A51E2

    #9A51E2

    oklch(59.2% 0.212 303.7)

  • #E03405

    #E03405

    oklch(59.2% 0.213 33.6)

  • #6D8B00

    #6D8B00

    oklch(59.2% 0.146 123.5)

  • #008DA3

    #008DA3

    oklch(59.1% 0.104 213.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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