#9A87CB

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

Aa

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

About this color

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

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

Values

HEX#9A87CB
RGBrgb(154, 135, 203)
HSLhsl(257, 40%, 66%)
OKLCHoklch(66.7% 0.101 296.4)

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 #9A87CB 3.13:1 AA large text Lc -63.7 Content text, not long reading
Black text on #9A87CB 6.70:1 AA Lc 45.7 Large or bold text, headings
#9A87CB text on white 3.13:1 AA large text Lc 58.3 Large or bold text, headings
#9A87CB text on black 6.70:1 AA Lc -43.4 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

    #DAD6EA

    oklch(88.5% 0.028 295)

  4. Step 300

    300

    #C3BBDD

    oklch(81% 0.048 296.1)

  5. Step 400

    400

    #A597CD

    oklch(70.8% 0.079 296.2)

  6. Step 500

    500 (this color)

    #9A87CB

    oklch(66.7% 0.101 296.4)

  7. Step 600

    600

    #7A65AC

    oklch(55.7% 0.109 296.3)

  8. Step 700

    700

    #675393

    oklch(49.1% 0.102 296.9)

  9. Step 800

    800

    #544478

    oklch(42.7% 0.086 296.8)

  10. Step 900

    900

    #453A60

    oklch(37.7% 0.065 296.5)

  11. Step 950

    950

    #282238

    oklch(26.9% 0.041 296.1)

Export this scale for Tailwind in the Tailwind colors tool

#9A87CB 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.054
Deuteranopia (no green cones)#7991C90.051
Tritanopia (no blue cones)#9092A00.081
Achromatopsia (no color)#9191910.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A87CB

    #9A87CB

    oklch(66.7% 0.101 296.4)

  • #909C51

    #909C51

    oklch(66.6% 0.101 116.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A87CB

    #9A87CB

    oklch(66.7% 0.101 296.4)

  • #7892D3

    #7892D3

    oklch(66.6% 0.102 267)

  • #B57EB5

    #B57EB5

    oklch(66.7% 0.101 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #9A87CB

    #9A87CB

    oklch(66.7% 0.101 296.4)

  • #AF9045

    #AF9045

    oklch(66.7% 0.101 86.9)

  • #6AA56F

    #6AA56F

    oklch(66.7% 0.1 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A87CB

    #9A87CB

    oklch(66.7% 0.101 296.4)

  • #C38354

    #C38354

    oklch(66.5% 0.101 56.3)

  • #41A892

    #41A892

    oklch(66.6% 0.101 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A87CB

    #9A87CB

    oklch(66.7% 0.101 296.4)

  • #CB7B73

    #CB7B73

    oklch(66.7% 0.101 26.2)

  • #909C51

    #909C51

    oklch(66.6% 0.101 116.7)

  • #32A5B3

    #32A5B3

    oklch(66.5% 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 #9A87CB, closest first.

Similar named colors

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

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