#9787CB

Closest named color: Wisteria (#A87DC2). oklch(66.4% 0.1 294.3), rgb(151, 135, 203).

Aa

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

About this color

#9787CB is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.100 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.035 away. Black text reads best on it, at 6.64:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.64:1
White text3.16:1

Values

HEX#9787CB
RGBrgb(151, 135, 203)
HSLhsl(254, 40%, 66%)
OKLCHoklch(66.4% 0.1 294.3)

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 #9787CB 3.16:1 AA large text Lc -64.1 Content text, not long reading
Black text on #9787CB 6.64:1 AA Lc 45.4 Large or bold text, headings
#9787CB text on white 3.16:1 AA large text Lc 58.7 Large or bold text, headings
#9787CB text on black 6.64:1 AA Lc -43.1 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  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

    #C2BBDE

    oklch(80.9% 0.049 294.4)

  5. Step 400

    400

    #A397CD

    oklch(70.6% 0.079 294.5)

  6. Step 500

    500 (this color)

    #9787CB

    oklch(66.4% 0.1 294.3)

  7. Step 600

    600

    #7865AD

    oklch(55.6% 0.111 294.7)

  8. Step 700

    700

    #655494

    oklch(49.1% 0.101 294.6)

  9. Step 800

    800

    #524578

    oklch(42.7% 0.084 294.3)

  10. Step 900

    900

    #443A61

    oklch(37.7% 0.066 294.8)

  11. Step 950

    950

    #282239

    oklch(27% 0.043 295.4)

Export this scale for Tailwind in the Tailwind colors tool

#9787CB 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)#7691CE0.049
Deuteranopia (no green cones)#7790C90.049
Tritanopia (no blue cones)#8C92A00.082
Achromatopsia (no color)#9191910.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #9787CB

    #9787CB

    oklch(66.4% 0.1 294.3)

  • #929A4F

    #929A4F

    oklch(66.3% 0.1 114.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9787CB

    #9787CB

    oklch(66.4% 0.1 294.3)

  • #7492D1

    #7492D1

    oklch(66.3% 0.1 264.3)

  • #B27EB6

    #B27EB6

    oklch(66.4% 0.1 324.2)

Open the analogous palette in the generator

Split complementary

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

  • #9787CB

    #9787CB

    oklch(66.4% 0.1 294.3)

  • #B08E45

    #B08E45

    oklch(66.4% 0.1 84.4)

  • #6CA46C

    #6CA46C

    oklch(66.5% 0.101 144.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9787CB

    #9787CB

    oklch(66.4% 0.1 294.3)

  • #C38256

    #C38256

    oklch(66.4% 0.1 54.2)

  • #43A78F

    #43A78F

    oklch(66.3% 0.1 174.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9787CB

    #9787CB

    oklch(66.4% 0.1 294.3)

  • #CA7A75

    #CA7A75

    oklch(66.4% 0.101 24)

  • #929A4F

    #929A4F

    oklch(66.3% 0.1 114.2)

  • #31A5B0

    #31A5B0

    oklch(66.4% 0.101 204.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9787CB 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.