#9D87A2

Closest named color: Heather (#A484AC). oklch(65.2% 0.047 320), rgb(157, 135, 162).

Aa

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

About this color

#9D87A2 is a medium-light, muted purple. In OKLCH its lightness is 65%, its chroma 0.047 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.022 away. Black text reads best on it, at 6.42:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamuted (0.047)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.42:1
White text3.27:1

Values

HEX#9D87A2
RGBrgb(157, 135, 162)
HSLhsl(289, 13%, 58%)
OKLCHoklch(65.2% 0.047 320)

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 #9D87A2 3.27:1 AA large text Lc -65.5 Content text, not long reading
Black text on #9D87A2 6.42:1 AA Lc 44.0 Non-text elements, placeholder text
#9D87A2 text on white 3.27:1 AA large text Lc 60.0 Content text, not long reading
#9D87A2 text on black 6.42:1 AA Lc -41.7 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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8ED

    oklch(93.6% 0.008 319.4)

  3. Step 200

    200

    #DDD6DE

    oklch(88.4% 0.013 321.9)

  4. Step 300

    300

    #C7BCCA

    oklch(80.8% 0.023 319)

  5. Step 400

    400

    #AB9AAF

    oklch(70.8% 0.036 319.8)

  6. Step 500

    500 (this color)

    #9D87A2

    oklch(65.2% 0.047 320)

  7. Step 600

    600

    #816A86

    oklch(55.6% 0.051 320.2)

  8. Step 700

    700

    #6D5872

    oklch(49.1% 0.048 319.7)

  9. Step 800

    800

    #59485D

    oklch(42.7% 0.04 319.8)

  10. Step 900

    900

    #493C4C

    oklch(37.6% 0.032 319.9)

  11. Step 950

    950

    #2B232C

    oklch(26.9% 0.02 322.5)

Export this scale for Tailwind in the Tailwind colors tool

#9D87A2 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)#848DA30.038
Deuteranopia (no green cones)#898FA10.036
Tritanopia (no blue cones)#9E8A900.031
Achromatopsia (no color)#8E8E8E0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D87A2

    #9D87A2

    oklch(65.2% 0.047 320)

  • #81977C

    #81977C

    oklch(65.1% 0.047 139.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D87A2

    #9D87A2

    oklch(65.2% 0.047 320)

  • #8F8BAB

    #8F8BAB

    oklch(65.1% 0.047 290.8)

  • #A78594

    #A78594

    oklch(65.3% 0.046 350.2)

Open the analogous palette in the generator

Split complementary

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

  • #9D87A2

    #9D87A2

    oklch(65.2% 0.047 320)

  • #919372

    #919372

    oklch(65.3% 0.047 110.5)

  • #749A8B

    #749A8B

    oklch(65.4% 0.048 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D87A2

    #9D87A2

    oklch(65.2% 0.047 320)

  • #9F8D70

    #9F8D70

    oklch(65.2% 0.046 79.6)

  • #6E999B

    #6E999B

    oklch(65.2% 0.047 199.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D87A2

    #9D87A2

    oklch(65.2% 0.047 320)

  • #A88877

    #A88877

    oklch(65.2% 0.046 49.5)

  • #81977C

    #81977C

    oklch(65.1% 0.047 139.9)

  • #7396A7

    #7396A7

    oklch(65.3% 0.046 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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