#87799D

Closest named color: Lavender Gray (#7E7F9A). oklch(60.2% 0.056 302.5), rgb(135, 121, 157).

Aa

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

About this color

#87799D is a medium-dark, muted purple. In OKLCH its lightness is 60%, its chroma 0.056 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.022 away. Black text reads best on it, at 5.25:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamuted (0.056)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.25:1
White text3.99:1

Values

HEX#87799D
RGBrgb(135, 121, 157)
HSLhsl(263, 16%, 55%)
OKLCHoklch(60.2% 0.056 302.5)

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 #87799D 3.99:1 AA large text Lc -72.8 Content text, not long reading
Black text on #87799D 5.25:1 AA Lc 36.8 Non-text elements, placeholder text
#87799D text on white 3.99:1 AA large text Lc 67.3 Content text, not long reading
#87799D text on black 5.25:1 AA Lc -34.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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE9EE

    oklch(93.7% 0.007 304.2)

  3. Step 200

    200

    #DBD7E2

    oklch(88.6% 0.016 302.5)

  4. Step 300

    300

    #C4BDD0

    oklch(81% 0.027 302.5)

  5. Step 400

    400

    #A69AB8

    oklch(70.6% 0.045 303.4)

  6. Step 500

    500 (this color)

    #87799D

    oklch(60.2% 0.056 302.5)

  7. Step 600

    600

    #7A6B91

    oklch(55.6% 0.06 302.5)

  8. Step 700

    700

    #67597C

    oklch(49.1% 0.057 302.6)

  9. Step 800

    800

    #544965

    oklch(42.8% 0.047 302.4)

  10. Step 900

    900

    #453D52

    oklch(37.7% 0.037 302.1)

  11. Step 950

    950

    #292430

    oklch(27.1% 0.023 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#87799D 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)#727F9F0.033
Deuteranopia (no green cones)#757F9C0.030
Tritanopia (no blue cones)#847E850.044
Achromatopsia (no color)#7F7F7F0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #87799D

    #87799D

    oklch(60.2% 0.056 302.5)

  • #7B8661

    #7B8661

    oklch(60.1% 0.055 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87799D

    #87799D

    oklch(60.2% 0.056 302.5)

  • #757FA3

    #757FA3

    oklch(60.2% 0.056 272.5)

  • #957590

    #957590

    oklch(60.2% 0.055 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #87799D

    #87799D

    oklch(60.2% 0.056 302.5)

  • #8C805A

    #8C805A

    oklch(60.1% 0.056 92.6)

  • #678B71

    #678B71

    oklch(60.2% 0.056 153.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87799D

    #87799D

    oklch(60.2% 0.056 302.5)

  • #997A5E

    #997A5E

    oklch(60.2% 0.056 63.5)

  • #598C83

    #598C83

    oklch(60.1% 0.057 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87799D

    #87799D

    oklch(60.2% 0.056 302.5)

  • #9F756C

    #9F756C

    oklch(60.2% 0.055 32.4)

  • #7B8661

    #7B8661

    oklch(60.1% 0.055 121.5)

  • #588A95

    #588A95

    oklch(60.2% 0.056 213.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #87799D 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.