#9D87CE

Closest named color: Wisteria (#A87DC2). oklch(67.1% 0.105 297.7), rgb(157, 135, 206).

Aa

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

About this color

#9D87CE is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.105 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.030 away. Black text reads best on it, at 6.79:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.79:1
White text3.09:1

Values

HEX#9D87CE
RGBrgb(157, 135, 206)
HSLhsl(259, 42%, 67%)
OKLCHoklch(67.1% 0.105 297.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 #9D87CE 3.09:1 AA large text Lc -63.2 Content text, not long reading
Black text on #9D87CE 6.79:1 AA Lc 46.2 Large or bold text, headings
#9D87CE text on white 3.09:1 AA large text Lc 57.8 Large or bold text, headings
#9D87CE text on black 6.79:1 AA Lc -43.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 400.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F5

    oklch(93.5% 0.019 299.1)

  3. Step 200

    200

    #DBD4EF

    oklch(88.4% 0.037 297.5)

  4. Step 300

    300

    #C5B8E6

    oklch(80.9% 0.065 297.9)

  5. Step 400

    400 (this color)

    #9D87CE

    oklch(67.1% 0.105 297.7)

  6. Step 500

    500

    #9476D0

    oklch(63.2% 0.134 297.8)

  7. Step 600

    600

    #7F5DBD

    oklch(55.7% 0.146 297.8)

  8. Step 700

    700

    #6B4CA3

    oklch(49.2% 0.136 297.6)

  9. Step 800

    800

    #573F84

    oklch(42.8% 0.112 297.5)

  10. Step 900

    900

    #47366A

    oklch(37.7% 0.088 297.1)

  11. Step 950

    950

    #2A203E

    oklch(27.1% 0.055 298)

Export this scale for Tailwind in the Tailwind colors tool

#9D87CE 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)#7693D10.059
Deuteranopia (no green cones)#7992CC0.056
Tritanopia (no blue cones)#9493A10.085
Achromatopsia (no color)#9292920.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D87CE

    #9D87CE

    oklch(67.1% 0.105 297.7)

  • #909E4F

    #909E4F

    oklch(67% 0.105 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D87CE

    #9D87CE

    oklch(67.1% 0.105 297.7)

  • #7993D7

    #7993D7

    oklch(67.1% 0.106 267.6)

  • #B87EB7

    #B87EB7

    oklch(67.1% 0.105 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #9D87CE

    #9D87CE

    oklch(67.1% 0.105 297.7)

  • #B19141

    #B19141

    oklch(67% 0.106 87.4)

  • #66A770

    #66A770

    oklch(67% 0.105 148)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D87CE

    #9D87CE

    oklch(67.1% 0.105 297.7)

  • #C68451

    #C68451

    oklch(67% 0.105 57.4)

  • #3AAA95

    #3AAA95

    oklch(66.9% 0.105 178)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D87CE

    #9D87CE

    oklch(67.1% 0.105 297.7)

  • #CE7B71

    #CE7B71

    oklch(67% 0.105 27.6)

  • #909E4F

    #909E4F

    oklch(67% 0.105 117.6)

  • #2BA7B7

    #2BA7B7

    oklch(67% 0.105 208)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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