#9D2787

Closest named color: Warm Purple (#952E8F). oklch(49.4% 0.184 336.7), rgb(157, 39, 135).

Aa

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

About this color

#9D2787 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.184 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.021 away. White text reads best on it, at 6.83:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.07:1
White text6.83:1

Values

HEX#9D2787
RGBrgb(157, 39, 135)
HSLhsl(311, 60%, 38%)
OKLCHoklch(49.4% 0.184 336.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 #9D2787 6.83:1 AA Lc -87.5 Fine for body text
Black text on #9D2787 3.07:1 AA large text Lc 21.6 Dividers and decoration only
#9D2787 text on white 6.83:1 AA Lc 82.4 Fine for body text
#9D2787 text on black 3.07:1 AA large text Lc -19.5 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 700.

  1. Step 50

    50

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #EFCDE5

    oklch(88.4% 0.049 336.6)

  4. Step 300

    300

    #E6ABD6

    oklch(80.9% 0.089 336.5)

  5. Step 400

    400

    #D87CC1

    oklch(70.8% 0.142 337)

  6. Step 500

    500

    #CA56B1

    oklch(63.1% 0.181 336.7)

  7. Step 600

    600

    #B6359D

    oklch(55.7% 0.198 336.8)

  8. Step 700

    700 (this color)

    #9D2787

    oklch(49.4% 0.184 336.7)

  9. Step 800

    800

    #7F226D

    oklch(42.8% 0.153 336.8)

  10. Step 900

    900

    #662258

    oklch(37.6% 0.119 336.7)

  11. Step 950

    950

    #3C1534

    oklch(26.9% 0.076 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#9D2787 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)#2A4F8A0.202
Deuteranopia (no green cones)#5361840.172
Tritanopia (no blue cones)#A52F540.090
Achromatopsia (no color)#5B5B5B0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D2787

    #9D2787

    oklch(49.4% 0.184 336.7)

  • #007545

    #007545

    oklch(49.5% 0.118 156.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D2787

    #9D2787

    oklch(49.4% 0.184 336.7)

  • #7D39B1

    #7D39B1

    oklch(49.3% 0.185 306.8)

  • #AF1950

    #AF1950

    oklch(49.4% 0.184 6.7)

Open the analogous palette in the generator

Split complementary

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

  • #9D2787

    #9D2787

    oklch(49.4% 0.184 336.7)

  • #4E6E00

    #4E6E00

    oklch(49.5% 0.128 127)

  • #00716A

    #00716A

    oklch(49.4% 0.086 187.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D2787

    #9D2787

    oklch(49.4% 0.184 336.7)

  • #726100

    #726100

    oklch(49.4% 0.102 97.1)

  • #006D82

    #006D82

    oklch(49.3% 0.088 217.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D2787

    #9D2787

    oklch(49.4% 0.184 336.7)

  • #8A5300

    #8A5300

    oklch(49.4% 0.109 66.9)

  • #007545

    #007545

    oklch(49.5% 0.118 156.7)

  • #0066A6

    #0066A6

    oklch(49.5% 0.129 246.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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