#9D87CD

Closest named color: Wisteria (#A87DC2). oklch(67% 0.104 298), rgb(157, 135, 205).

Aa

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

About this color

#9D87CD is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.104 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.78:1.

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

Values

HEX#9D87CD
RGBrgb(157, 135, 205)
HSLhsl(259, 41%, 67%)
OKLCHoklch(67% 0.104 298)

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 #9D87CD 3.09:1 AA large text Lc -63.3 Content text, not long reading
Black text on #9D87CD 6.78:1 AA Lc 46.2 Large or bold text, headings
#9D87CD text on white 3.09:1 AA large text Lc 57.9 Large or bold text, headings
#9D87CD text on black 6.78: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

    #DCD5EF

    oklch(88.7% 0.036 298)

  4. Step 300

    300

    #C5B8E6

    oklch(80.9% 0.065 297.9)

  5. Step 400

    400 (this color)

    #9D87CD

    oklch(67% 0.104 298)

  6. Step 500

    500

    #9476CF

    oklch(63.2% 0.133 298)

  7. Step 600

    600

    #7F5DBC

    oklch(55.7% 0.145 298.1)

  8. Step 700

    700

    #6B4CA2

    oklch(49.1% 0.135 297.9)

  9. Step 800

    800

    #573F83

    oklch(42.7% 0.111 297.8)

  10. Step 900

    900

    #483669

    oklch(37.8% 0.086 298.5)

  11. Step 950

    950

    #2A203E

    oklch(27.1% 0.055 298)

Export this scale for Tailwind in the Tailwind colors tool

#9D87CD 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)#7693D00.059
Deuteranopia (no green cones)#7A92CB0.055
Tritanopia (no blue cones)#9492A10.082
Achromatopsia (no color)#9292920.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D87CD

    #9D87CD

    oklch(67% 0.104 298)

  • #909E50

    #909E50

    oklch(67.1% 0.104 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D87CD

    #9D87CD

    oklch(67% 0.104 298)

  • #7A93D6

    #7A93D6

    oklch(67.1% 0.104 267.9)

  • #B87EB6

    #B87EB6

    oklch(67.1% 0.104 327.8)

Open the analogous palette in the generator

Split complementary

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

  • #9D87CD

    #9D87CD

    oklch(67% 0.104 298)

  • #B09143

    #B09143

    oklch(67% 0.104 87.6)

  • #67A770

    #67A770

    oklch(67% 0.104 147.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D87CD

    #9D87CD

    oklch(67% 0.104 298)

  • #C58552

    #C58552

    oklch(67.1% 0.104 58.3)

  • #3CAA95

    #3CAA95

    oklch(67% 0.104 177.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D87CD

    #9D87CD

    oklch(67% 0.104 298)

  • #CD7C71

    #CD7C71

    oklch(67% 0.103 28.4)

  • #909E50

    #909E50

    oklch(67.1% 0.104 117.7)

  • #2EA7B7

    #2EA7B7

    oklch(67.1% 0.104 208.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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