#9C51E2

Closest named color: Lighter Purple (#A55AF4). oklch(59.4% 0.213 304.4), rgb(156, 81, 226).

Aa

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

About this color

#9C51E2 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.213 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.035 away. Black text reads best on it, at 4.68:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.213)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text4.68:1
White text4.47:1

Values

HEX#9C51E2
RGBrgb(156, 81, 226)
HSLhsl(271, 71%, 60%)
OKLCHoklch(59.4% 0.213 304.4)

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 #9C51E2 4.47:1 AA large text Lc -76.0 Fine for body text
Black text on #9C51E2 4.68:1 AA Lc 33.6 Non-text elements, placeholder text
#9C51E2 text on white 4.47:1 AA large text Lc 70.5 Content text, not long reading
#9C51E2 text on black 4.68:1 AA Lc -31.2 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 500.

  1. Step 50

    50

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D0F9

    oklch(88.4% 0.058 304)

  4. Step 300

    300

    #D0B0F7

    oklch(81% 0.104 304.8)

  5. Step 400

    400

    #B883F3

    oklch(70.7% 0.165 304.3)

  6. Step 500

    500 (this color)

    #9C51E2

    oklch(59.4% 0.213 304.4)

  7. Step 600

    600

    #933CDD

    oklch(55.6% 0.231 304.4)

  8. Step 700

    700

    #7E2CC0

    oklch(49.2% 0.215 304.6)

  9. Step 800

    800

    #66279B

    oklch(42.7% 0.178 304.5)

  10. Step 900

    900

    #53277B

    oklch(37.8% 0.138 304.7)

  11. Step 950

    950

    #301848

    oklch(26.9% 0.087 304.2)

Export this scale for Tailwind in the Tailwind colors tool

#9C51E2 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.170
Deuteranopia (no green cones)#2677DF0.161
Tritanopia (no blue cones)#8F70920.155
Achromatopsia (no color)#7777770.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C51E2

    #9C51E2

    oklch(59.4% 0.213 304.4)

  • #6C8C00

    #6C8C00

    oklch(59.4% 0.148 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C51E2

    #9C51E2

    oklch(59.4% 0.213 304.4)

  • #5E69FA

    #5E69FA

    oklch(59.4% 0.213 274.6)

  • #C43CB0

    #C43CB0

    oklch(59.4% 0.212 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #9C51E2

    #9C51E2

    oklch(59.4% 0.213 304.4)

  • #967C00

    #967C00

    oklch(59.3% 0.122 94.2)

  • #009754

    #009754

    oklch(59.4% 0.148 154.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C51E2

    #9C51E2

    oklch(59.4% 0.213 304.4)

  • #B46A00

    #B46A00

    oklch(59.4% 0.134 64.3)

  • #009286

    #009286

    oklch(59.3% 0.105 184.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C51E2

    #9C51E2

    oklch(59.4% 0.213 304.4)

  • #E03700

    #E03700

    oklch(59.5% 0.211 34.5)

  • #6C8C00

    #6C8C00

    oklch(59.4% 0.148 124.2)

  • #008EA5

    #008EA5

    oklch(59.5% 0.105 214.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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