#9B87A2

Closest named color: Heather (#A484AC). oklch(65% 0.046 317.3), rgb(155, 135, 162).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (65%)
Chromamuted (0.046)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.38:1
White text3.29:1

Values

HEX#9B87A2
RGBrgb(155, 135, 162)
HSLhsl(284, 13%, 58%)
OKLCHoklch(65% 0.046 317.3)

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 #9B87A2 3.29:1 AA large text Lc -65.7 Content text, not long reading
Black text on #9B87A2 6.38:1 AA Lc 43.8 Non-text elements, placeholder text
#9B87A2 text on white 3.29:1 AA large text Lc 60.3 Content text, not long reading
#9B87A2 text on black 6.38:1 AA Lc -41.4 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

    #DCD7DF

    oklch(88.5% 0.012 313.2)

  4. Step 300

    300

    #C7BCCA

    oklch(80.8% 0.023 319)

  5. Step 400

    400

    #AA9AB0

    oklch(70.7% 0.036 316.9)

  6. Step 500

    500 (this color)

    #9B87A2

    oklch(65% 0.046 317.3)

  7. Step 600

    600

    #7F6A87

    oklch(55.5% 0.051 316.6)

  8. Step 700

    700

    #6C5972

    oklch(49.2% 0.046 318)

  9. Step 800

    800

    #58495D

    oklch(42.8% 0.038 317.6)

  10. Step 900

    900

    #483D4C

    oklch(37.7% 0.029 317)

  11. Step 950

    950

    #2A242D

    oklch(27.1% 0.018 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#9B87A2 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)#848CA30.035
Deuteranopia (no green cones)#888EA10.033
Tritanopia (no blue cones)#9B8A900.031
Achromatopsia (no color)#8E8E8E0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B87A2

    #9B87A2

    oklch(65% 0.046 317.3)

  • #82967B

    #82967B

    oklch(65% 0.045 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B87A2

    #9B87A2

    oklch(65% 0.046 317.3)

  • #8D8BAA

    #8D8BAA

    oklch(64.9% 0.046 288)

  • #A58495

    #A58495

    oklch(65% 0.047 346.1)

Open the analogous palette in the generator

Split complementary

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

  • #9B87A2

    #9B87A2

    oklch(65% 0.046 317.3)

  • #929272

    #929272

    oklch(65.1% 0.045 107.6)

  • #75998A

    #75998A

    oklch(65.2% 0.046 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B87A2

    #9B87A2

    oklch(65% 0.046 317.3)

  • #9F8C70

    #9F8C70

    oklch(65% 0.046 77.4)

  • #6E9899

    #6E9899

    oklch(64.9% 0.046 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B87A2

    #9B87A2

    oklch(65% 0.046 317.3)

  • #A88778

    #A88778

    oklch(65% 0.046 45.7)

  • #82967B

    #82967B

    oklch(65% 0.045 137.6)

  • #7295A5

    #7295A5

    oklch(64.9% 0.046 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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