#9B87CC

Closest named color: Wisteria (#A87DC2). oklch(66.8% 0.102 296.9), rgb(155, 135, 204).

Aa

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

About this color

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

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

Values

HEX#9B87CC
RGBrgb(155, 135, 204)
HSLhsl(257, 40%, 66%)
OKLCHoklch(66.8% 0.102 296.9)

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 #9B87CC 3.11:1 AA large text Lc -63.6 Content text, not long reading
Black text on #9B87CC 6.73:1 AA Lc 45.9 Large or bold text, headings
#9B87CC text on white 3.11:1 AA large text Lc 58.2 Large or bold text, headings
#9B87CC text on black 6.73: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

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #DBD6EA

    oklch(88.6% 0.028 297.3)

  4. Step 300

    300

    #C3BADE

    oklch(80.8% 0.051 296.7)

  5. Step 400

    400

    #A596CD

    oklch(70.6% 0.081 296.8)

  6. Step 500

    500 (this color)

    #9B87CC

    oklch(66.8% 0.102 296.9)

  7. Step 600

    600

    #7A64AC

    oklch(55.5% 0.111 296.7)

  8. Step 700

    700

    #675394

    oklch(49.1% 0.103 296.6)

  9. Step 800

    800

    #544478

    oklch(42.7% 0.086 296.8)

  10. Step 900

    900

    #453A61

    oklch(37.8% 0.066 296)

  11. Step 950

    950

    #292239

    oklch(27.1% 0.043 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#9B87CC 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)#7692CF0.055
Deuteranopia (no green cones)#7991CA0.052
Tritanopia (no blue cones)#9192A00.083
Achromatopsia (no color)#9292920.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B87CC

    #9B87CC

    oklch(66.8% 0.102 296.9)

  • #909D50

    #909D50

    oklch(66.8% 0.103 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B87CC

    #9B87CC

    oklch(66.8% 0.102 296.9)

  • #7892D4

    #7892D4

    oklch(66.7% 0.103 267.2)

  • #B67EB6

    #B67EB6

    oklch(66.8% 0.103 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #9B87CC

    #9B87CC

    oklch(66.8% 0.102 296.9)

  • #B09044

    #B09044

    oklch(66.8% 0.102 86.5)

  • #69A66F

    #69A66F

    oklch(66.9% 0.103 146.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B87CC

    #9B87CC

    oklch(66.8% 0.102 296.9)

  • #C48453

    #C48453

    oklch(66.8% 0.102 57.3)

  • #3FA993

    #3FA993

    oklch(66.8% 0.102 176.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B87CC

    #9B87CC

    oklch(66.8% 0.102 296.9)

  • #CC7B72

    #CC7B72

    oklch(66.8% 0.103 26.9)

  • #909D50

    #909D50

    oklch(66.8% 0.103 117.2)

  • #30A6B4

    #30A6B4

    oklch(66.8% 0.102 206.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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