#9E87CC

Closest named color: Wisteria (#A87DC2). oklch(67.1% 0.103 298.9), rgb(158, 135, 204).

Aa

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

About this color

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

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

Values

HEX#9E87CC
RGBrgb(158, 135, 204)
HSLhsl(260, 40%, 66%)
OKLCHoklch(67.1% 0.103 298.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 #9E87CC 3.09:1 AA large text Lc -63.2 Content text, not long reading
Black text on #9E87CC 6.79:1 AA Lc 46.2 Large or bold text, headings
#9E87CC text on white 3.09:1 AA large text Lc 57.8 Large or bold text, headings
#9E87CC text on black 6.79: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

    #DCD4EE

    oklch(88.4% 0.036 299.7)

  4. Step 300

    300

    #C6B8E5

    oklch(80.9% 0.064 299.2)

  5. Step 400

    400 (this color)

    #9E87CC

    oklch(67.1% 0.103 298.9)

  6. Step 500

    500

    #9576CD

    oklch(63.2% 0.13 299.1)

  7. Step 600

    600

    #805DBA

    oklch(55.7% 0.142 299.1)

  8. Step 700

    700

    #6C4CA0

    oklch(49.1% 0.132 299.1)

  9. Step 800

    800

    #583F82

    oklch(42.8% 0.109 298.9)

  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

#9E87CC 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)#7792CF0.058
Deuteranopia (no green cones)#7B92CA0.055
Tritanopia (no blue cones)#9592A00.082
Achromatopsia (no color)#9292920.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E87CC

    #9E87CC

    oklch(67.1% 0.103 298.9)

  • #8F9E52

    #8F9E52

    oklch(67% 0.103 118.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E87CC

    #9E87CC

    oklch(67.1% 0.103 298.9)

  • #7B92D5

    #7B92D5

    oklch(66.9% 0.103 269)

  • #B87EB5

    #B87EB5

    oklch(67% 0.103 328.4)

Open the analogous palette in the generator

Split complementary

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

  • #9E87CC

    #9E87CC

    oklch(67.1% 0.103 298.9)

  • #AF9244

    #AF9244

    oklch(67.1% 0.103 89)

  • #66A772

    #66A772

    oklch(67% 0.103 148.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E87CC

    #9E87CC

    oklch(67.1% 0.103 298.9)

  • #C48552

    #C48552

    oklch(67% 0.103 58.8)

  • #3DAA96

    #3DAA96

    oklch(67.1% 0.103 178.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E87CC

    #9E87CC

    oklch(67.1% 0.103 298.9)

  • #CD7C71

    #CD7C71

    oklch(67% 0.103 28.4)

  • #8F9E52

    #8F9E52

    oklch(67% 0.103 118.4)

  • #31A7B7

    #31A7B7

    oklch(67.2% 0.103 208.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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