#9D87BE

Closest named color: Heather (#A484AC). oklch(66.3% 0.083 302.5), rgb(157, 135, 190).

Aa

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

About this color

#9D87BE is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.083 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.028 away. Black text reads best on it, at 6.64:1.

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

Values

HEX#9D87BE
RGBrgb(157, 135, 190)
HSLhsl(264, 30%, 64%)
OKLCHoklch(66.3% 0.083 302.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 #9D87BE 3.16:1 AA large text Lc -64.1 Content text, not long reading
Black text on #9D87BE 6.64:1 AA Lc 45.4 Large or bold text, headings
#9D87BE text on white 3.16:1 AA large text Lc 58.7 Large or bold text, headings
#9D87BE text on black 6.64:1 AA Lc -43.0 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DCD6E6

    oklch(88.6% 0.023 302.9)

  4. Step 300

    300

    #C5BBD7

    oklch(80.9% 0.04 301.7)

  5. Step 400

    400

    #A897C3

    oklch(70.6% 0.066 302.4)

  6. Step 500

    500 (this color)

    #9D87BE

    oklch(66.3% 0.083 302.5)

  7. Step 600

    600

    #7E669F

    oklch(55.6% 0.09 302.9)

  8. Step 700

    700

    #6A5488

    oklch(49% 0.085 302.9)

  9. Step 800

    800

    #56456F

    oklch(42.6% 0.071 302.1)

  10. Step 900

    900

    #473A5A

    oklch(37.6% 0.056 302.5)

  11. Step 950

    950

    #2A2234

    oklch(26.9% 0.035 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#9D87BE 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)#7C90C00.050
Deuteranopia (no green cones)#8091BC0.048
Tritanopia (no blue cones)#988F9B0.064
Achromatopsia (no color)#9191910.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D87BE

    #9D87BE

    oklch(66.3% 0.083 302.5)

  • #8A9C61

    #8A9C61

    oklch(66.4% 0.084 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D87BE

    #9D87BE

    oklch(66.3% 0.083 302.5)

  • #8290C7

    #8290C7

    oklch(66.3% 0.084 272.9)

  • #B280AA

    #B280AA

    oklch(66.3% 0.084 332.2)

Open the analogous palette in the generator

Split complementary

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

  • #9D87BE

    #9D87BE

    oklch(66.3% 0.083 302.5)

  • #A59255

    #A59255

    oklch(66.3% 0.084 92.6)

  • #6BA27A

    #6BA27A

    oklch(66.3% 0.083 152.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D87BE

    #9D87BE

    oklch(66.3% 0.083 302.5)

  • #B8885C

    #B8885C

    oklch(66.3% 0.084 63.1)

  • #51A497

    #51A497

    oklch(66.3% 0.084 182.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D87BE

    #9D87BE

    oklch(66.3% 0.083 302.5)

  • #C18073

    #C18073

    oklch(66.3% 0.084 31.8)

  • #8A9C61

    #8A9C61

    oklch(66.4% 0.084 122.5)

  • #4EA1B1

    #4EA1B1

    oklch(66.4% 0.084 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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