#9D31AC

Closest named color: Purply (#983FB2). oklch(52.4% 0.202 322.5), rgb(157, 49, 172).

Aa

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

About this color

#9D31AC is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.202 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.025 away. White text reads best on it, at 6.05:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.202)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.46:1
White text6.05:1

Values

HEX#9D31AC
RGBrgb(157, 49, 172)
HSLhsl(293, 56%, 43%)
OKLCHoklch(52.4% 0.202 322.5)

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 #9D31AC 6.05:1 AA Lc -84.5 Fine for body text
Black text on #9D31AC 3.46:1 AA large text Lc 24.8 Dividers and decoration only
#9D31AC text on white 6.05:1 AA Lc 79.2 Fine for body text
#9D31AC text on black 3.46:1 AA large text Lc -22.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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACFED

    oklch(88.6% 0.05 322.8)

  4. Step 300

    300

    #DDADE3

    oklch(80.8% 0.091 322.7)

  5. Step 400

    400

    #CB80D5

    oklch(70.8% 0.144 322.7)

  6. Step 500

    500

    #BC5BCA

    oklch(63.1% 0.186 322.4)

  7. Step 600

    600 (this color)

    #9D31AC

    oklch(52.4% 0.202 322.5)

  8. Step 700

    700

    #8F2D9D

    oklch(49.1% 0.187 322.4)

  9. Step 800

    800

    #74277F

    oklch(42.6% 0.155 322.5)

  10. Step 900

    900

    #5E2666

    oklch(37.7% 0.12 322.5)

  11. Step 950

    950

    #37173C

    oklch(26.9% 0.077 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#9D31AC 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)#005BAF0.209
Deuteranopia (no green cones)#4367A90.177
Tritanopia (no blue cones)#9F476B0.121
Achromatopsia (no color)#6262620.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D31AC

    #9D31AC

    oklch(52.4% 0.202 322.5)

  • #008101

    #008101

    oklch(52.3% 0.178 142.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D31AC

    #9D31AC

    oklch(52.4% 0.202 322.5)

  • #7247D1

    #7247D1

    oklch(52.4% 0.201 292.4)

  • #B81B75

    #B81B75

    oklch(52.4% 0.201 352.4)

Open the analogous palette in the generator

Split complementary

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

  • #9D31AC

    #9D31AC

    oklch(52.4% 0.202 322.5)

  • #6C7000

    #6C7000

    oklch(52.4% 0.116 112.2)

  • #007D64

    #007D64

    oklch(52.5% 0.102 172.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D31AC

    #9D31AC

    oklch(52.4% 0.202 322.5)

  • #886300

    #886300

    oklch(52.4% 0.108 82.9)

  • #007980

    #007980

    oklch(52.4% 0.089 201.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D31AC

    #9D31AC

    oklch(52.4% 0.202 322.5)

  • #A44F00

    #A44F00

    oklch(52.4% 0.134 52.4)

  • #008101

    #008101

    oklch(52.3% 0.178 142.5)

  • #00749D

    #00749D

    oklch(52.5% 0.107 231.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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