#9B87CB

Closest named color: Wisteria (#A87DC2). oklch(66.7% 0.101 297.1), rgb(155, 135, 203).

Aa

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

About this color

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

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

Values

HEX#9B87CB
RGBrgb(155, 135, 203)
HSLhsl(258, 40%, 66%)
OKLCHoklch(66.7% 0.101 297.1)

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 #9B87CB 3.12:1 AA large text Lc -63.6 Content text, not long reading
Black text on #9B87CB 6.72:1 AA Lc 45.8 Large or bold text, headings
#9B87CB text on white 3.12:1 AA large text Lc 58.2 Large or bold text, headings
#9B87CB text on black 6.72:1 AA Lc -43.5 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

    #DBD6EA

    oklch(88.6% 0.028 297.3)

  4. Step 300

    300

    #C3BADD

    oklch(80.8% 0.05 297)

  5. Step 400

    400

    #A596CC

    oklch(70.5% 0.079 297.1)

  6. Step 500

    500 (this color)

    #9B87CB

    oklch(66.7% 0.101 297.1)

  7. Step 600

    600

    #7B64AB

    oklch(55.6% 0.11 297.6)

  8. Step 700

    700

    #675393

    oklch(49.1% 0.102 296.9)

  9. Step 800

    800

    #544477

    oklch(42.6% 0.084 297.2)

  10. Step 900

    900

    #453A60

    oklch(37.7% 0.065 296.5)

  11. Step 950

    950

    #292238

    oklch(27% 0.041 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#9B87CB 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)#7692CE0.055
Deuteranopia (no green cones)#7991C90.052
Tritanopia (no blue cones)#9292A00.081
Achromatopsia (no color)#9292920.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B87CB

    #9B87CB

    oklch(66.7% 0.101 297.1)

  • #909D51

    #909D51

    oklch(66.8% 0.102 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B87CB

    #9B87CB

    oklch(66.7% 0.101 297.1)

  • #7992D3

    #7992D3

    oklch(66.7% 0.101 267.6)

  • #B67EB5

    #B67EB5

    oklch(66.8% 0.102 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #9B87CB

    #9B87CB

    oklch(66.7% 0.101 297.1)

  • #AF9045

    #AF9045

    oklch(66.7% 0.101 86.9)

  • #69A570

    #69A570

    oklch(66.7% 0.1 147.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B87CB

    #9B87CB

    oklch(66.7% 0.101 297.1)

  • #C38454

    #C38454

    oklch(66.7% 0.101 57.3)

  • #41A993

    #41A993

    oklch(66.8% 0.101 176.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B87CB

    #9B87CB

    oklch(66.7% 0.101 297.1)

  • #CB7C72

    #CB7C72

    oklch(66.8% 0.1 27.8)

  • #909D51

    #909D51

    oklch(66.8% 0.102 117.2)

  • #33A6B4

    #33A6B4

    oklch(66.8% 0.101 206.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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