#9D87BB

Closest named color: Heather (#A484AC). oklch(66.2% 0.079 303.7), rgb(157, 135, 187).

Aa

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

About this color

#9D87BB is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.079 and its hue 304°. 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.61:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.61:1
White text3.17:1

Values

HEX#9D87BB
RGBrgb(157, 135, 187)
HSLhsl(265, 28%, 63%)
OKLCHoklch(66.2% 0.079 303.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 #9D87BB 3.17:1 AA large text Lc -64.3 Content text, not long reading
Black text on #9D87BB 6.61:1 AA Lc 45.2 Large or bold text, headings
#9D87BB text on white 3.17:1 AA large text Lc 58.9 Large or bold text, headings
#9D87BB text on black 6.61:1 AA Lc -42.9 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DCD6E5

    oklch(88.5% 0.021 304)

  4. Step 300

    300

    #C6BBD6

    oklch(81% 0.039 304)

  5. Step 400

    400

    #A997C1

    oklch(70.7% 0.063 304.3)

  6. Step 500

    500 (this color)

    #9D87BB

    oklch(66.2% 0.079 303.7)

  7. Step 600

    600

    #7E669D

    oklch(55.5% 0.087 303.7)

  8. Step 700

    700

    #6A5586

    oklch(49.1% 0.08 303.3)

  9. Step 800

    800

    #57466D

    oklch(42.8% 0.066 303.7)

  10. Step 900

    900

    #473B58

    oklch(37.7% 0.051 303)

  11. Step 950

    950

    #2A2234

    oklch(26.9% 0.035 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#9D87BB 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)#7D90BD0.049
Deuteranopia (no green cones)#8190B90.046
Tritanopia (no blue cones)#988E990.061
Achromatopsia (no color)#9090900.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D87BB

    #9D87BB

    oklch(66.2% 0.079 303.7)

  • #899B64

    #899B64

    oklch(66.1% 0.079 123.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D87BB

    #9D87BB

    oklch(66.2% 0.079 303.7)

  • #8390C4

    #8390C4

    oklch(66.3% 0.079 273.3)

  • #B181A7

    #B181A7

    oklch(66.3% 0.078 334)

Open the analogous palette in the generator

Split complementary

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

  • #9D87BB

    #9D87BB

    oklch(66.2% 0.079 303.7)

  • #A39259

    #A39259

    oklch(66.2% 0.079 93.4)

  • #6CA17C

    #6CA17C

    oklch(66.1% 0.079 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D87BB

    #9D87BB

    oklch(66.2% 0.079 303.7)

  • #B6885F

    #B6885F

    oklch(66.2% 0.079 62.5)

  • #55A398

    #55A398

    oklch(66.2% 0.079 183.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D87BB

    #9D87BB

    oklch(66.2% 0.079 303.7)

  • #BE8173

    #BE8173

    oklch(66.2% 0.079 33.5)

  • #899B64

    #899B64

    oklch(66.1% 0.079 123.3)

  • #53A0B0

    #53A0B0

    oklch(66.3% 0.079 212.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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