#9787B3

Closest named color: Heather (#A484AC). oklch(65.3% 0.067 301.2), rgb(151, 135, 179).

Aa

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

About this color

#9787B3 is a medium-light, muted purple. In OKLCH its lightness is 65%, its chroma 0.067 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.022 away. Black text reads best on it, at 6.43:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamuted (0.067)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.43:1
White text3.26:1

Values

HEX#9787B3
RGBrgb(151, 135, 179)
HSLhsl(262, 22%, 62%)
OKLCHoklch(65.3% 0.067 301.2)

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 #9787B3 3.26:1 AA large text Lc -65.4 Content text, not long reading
Black text on #9787B3 6.43:1 AA Lc 44.1 Non-text elements, placeholder text
#9787B3 text on white 3.26:1 AA large text Lc 60.0 Large or bold text, headings
#9787B3 text on black 6.43:1 AA Lc -41.8 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DBD7E3

    oklch(88.6% 0.017 301.2)

  4. Step 300

    300

    #C4BCD3

    oklch(80.9% 0.033 301.5)

  5. Step 400

    400

    #A699BD

    oklch(70.6% 0.054 301.5)

  6. Step 500

    500 (this color)

    #9787B3

    oklch(65.3% 0.067 301.2)

  7. Step 600

    600

    #7B6997

    oklch(55.6% 0.073 302)

  8. Step 700

    700

    #675881

    oklch(49.1% 0.067 300.8)

  9. Step 800

    800

    #544869

    oklch(42.7% 0.056 300.8)

  10. Step 900

    900

    #453C55

    oklch(37.6% 0.043 300.8)

  11. Step 950

    950

    #292332

    oklch(27% 0.029 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#9787B3 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)#7E8EB50.038
Deuteranopia (no green cones)#818EB20.036
Tritanopia (no blue cones)#928D960.053
Achromatopsia (no color)#8E8E8E0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #9787B3

    #9787B3

    oklch(65.3% 0.067 301.2)

  • #8A9769

    #8A9769

    oklch(65.4% 0.067 121.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9787B3

    #9787B3

    oklch(65.3% 0.067 301.2)

  • #818EBA

    #818EBA

    oklch(65.3% 0.068 271.7)

  • #A982A3

    #A982A3

    oklch(65.5% 0.066 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #9787B3

    #9787B3

    oklch(65.3% 0.067 301.2)

  • #9F8F60

    #9F8F60

    oklch(65.3% 0.067 91.4)

  • #729C7C

    #729C7C

    oklch(65.3% 0.066 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9787B3

    #9787B3

    oklch(65.3% 0.067 301.2)

  • #AF8766

    #AF8766

    oklch(65.4% 0.067 60.8)

  • #609E93

    #609E93

    oklch(65.4% 0.067 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9787B3

    #9787B3

    oklch(65.3% 0.067 301.2)

  • #B58177

    #B58177

    oklch(65.2% 0.067 31.1)

  • #8A9769

    #8A9769

    oklch(65.4% 0.067 121.1)

  • #5D9BA8

    #5D9BA8

    oklch(65.2% 0.067 212.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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