#9D87CB

Closest named color: Wisteria (#A87DC2). oklch(66.9% 0.101 298.5), rgb(157, 135, 203).

Aa

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

About this color

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

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

Values

HEX#9D87CB
RGBrgb(157, 135, 203)
HSLhsl(259, 40%, 66%)
OKLCHoklch(66.9% 0.101 298.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 #9D87CB 3.10:1 AA large text Lc -63.4 Content text, not long reading
Black text on #9D87CB 6.76:1 AA Lc 46.1 Large or bold text, headings
#9D87CB text on white 3.10:1 AA large text Lc 58.0 Large or bold text, headings
#9D87CB text on black 6.76:1 AA Lc -43.8 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

    #DCD5EE

    oklch(88.6% 0.035 298.5)

  4. Step 300

    300

    #C5B8E5

    oklch(80.8% 0.064 298.2)

  5. Step 400

    400 (this color)

    #9D87CB

    oklch(66.9% 0.101 298.5)

  6. Step 500

    500

    #9476CD

    oklch(63.1% 0.13 298.5)

  7. Step 600

    600

    #7F5DB9

    oklch(55.5% 0.141 298.8)

  8. Step 700

    700

    #6B4DA0

    oklch(49.2% 0.13 298.1)

  9. Step 800

    800

    #573F82

    oklch(42.7% 0.109 298.2)

  10. Step 900

    900

    #483668

    oklch(37.7% 0.085 298.9)

  11. Step 950

    950

    #2A203D

    oklch(27% 0.054 298.6)

Export this scale for Tailwind in the Tailwind colors tool

#9D87CB 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)#7792CE0.057
Deuteranopia (no green cones)#7A92C90.055
Tritanopia (no blue cones)#9492A00.081
Achromatopsia (no color)#9292920.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D87CB

    #9D87CB

    oklch(66.9% 0.101 298.5)

  • #8F9E53

    #8F9E53

    oklch(67% 0.101 118.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D87CB

    #9D87CB

    oklch(66.9% 0.101 298.5)

  • #7B92D4

    #7B92D4

    oklch(66.9% 0.102 268.9)

  • #B77EB4

    #B77EB4

    oklch(66.9% 0.101 328.4)

Open the analogous palette in the generator

Split complementary

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

  • #9D87CB

    #9D87CB

    oklch(66.9% 0.101 298.5)

  • #AE9145

    #AE9145

    oklch(66.8% 0.101 88.5)

  • #67A672

    #67A672

    oklch(66.8% 0.101 148.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D87CB

    #9D87CB

    oklch(66.9% 0.101 298.5)

  • #C38553

    #C38553

    oklch(66.9% 0.101 58.8)

  • #3FA996

    #3FA996

    oklch(66.9% 0.101 179)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D87CB

    #9D87CB

    oklch(66.9% 0.101 298.5)

  • #CC7C71

    #CC7C71

    oklch(66.9% 0.102 28.5)

  • #8F9E53

    #8F9E53

    oklch(67% 0.101 118.5)

  • #34A6B6

    #34A6B6

    oklch(66.9% 0.101 208.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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