#9C87CB

Closest named color: Wisteria (#A87DC2). oklch(66.8% 0.101 297.8), rgb(156, 135, 203).

Aa

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

About this color

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

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

Values

HEX#9C87CB
RGBrgb(156, 135, 203)
HSLhsl(259, 40%, 66%)
OKLCHoklch(66.8% 0.101 297.8)

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 #9C87CB 3.11:1 AA large text Lc -63.5 Content text, not long reading
Black text on #9C87CB 6.74:1 AA Lc 46.0 Large or bold text, headings
#9C87CB text on white 3.11:1 AA large text Lc 58.1 Large or bold text, headings
#9C87CB text on black 6.74:1 AA Lc -43.6 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

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E9

    oklch(88.6% 0.026 297.9)

  4. Step 300

    300

    #C4BADD

    oklch(80.8% 0.05 298.3)

  5. Step 400

    400

    #A696CC

    oklch(70.6% 0.079 297.9)

  6. Step 500

    500 (this color)

    #9C87CB

    oklch(66.8% 0.101 297.8)

  7. Step 600

    600

    #7B64AB

    oklch(55.6% 0.11 297.6)

  8. Step 700

    700

    #685393

    oklch(49.2% 0.102 297.7)

  9. Step 800

    800

    #554477

    oklch(42.7% 0.084 298.1)

  10. Step 900

    900

    #463960

    oklch(37.6% 0.067 298.5)

  11. Step 950

    950

    #292238

    oklch(27% 0.041 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#9C87CB 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.055
Deuteranopia (no green cones)#7A91C90.053
Tritanopia (no blue cones)#9392A00.081
Achromatopsia (no color)#9292920.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C87CB

    #9C87CB

    oklch(66.8% 0.101 297.8)

  • #8F9D52

    #8F9D52

    oklch(66.8% 0.101 117.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C87CB

    #9C87CB

    oklch(66.8% 0.101 297.8)

  • #7A92D3

    #7A92D3

    oklch(66.8% 0.101 268.1)

  • #B67EB4

    #B67EB4

    oklch(66.8% 0.101 327.8)

Open the analogous palette in the generator

Split complementary

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

  • #9C87CB

    #9C87CB

    oklch(66.8% 0.101 297.8)

  • #AF9145

    #AF9145

    oklch(66.9% 0.102 87.9)

  • #68A671

    #68A671

    oklch(66.9% 0.101 147.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C87CB

    #9C87CB

    oklch(66.8% 0.101 297.8)

  • #C38454

    #C38454

    oklch(66.7% 0.101 57.3)

  • #40A994

    #40A994

    oklch(66.8% 0.101 177.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C87CB

    #9C87CB

    oklch(66.8% 0.101 297.8)

  • #CB7C72

    #CB7C72

    oklch(66.8% 0.1 27.8)

  • #8F9D52

    #8F9D52

    oklch(66.8% 0.101 117.9)

  • #33A6B5

    #33A6B5

    oklch(66.9% 0.101 207.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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