#877FA8

Closest named color: Lavender Gray (#7E7F9A). oklch(61.9% 0.062 293.5), rgb(135, 127, 168).

Aa

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

About this color

#877FA8 is a medium-dark, muted purple. In OKLCH its lightness is 62%, its chroma 0.062 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.026 away. Black text reads best on it, at 5.63:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamuted (0.062)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.63:1
White text3.72:1

Values

HEX#877FA8
RGBrgb(135, 127, 168)
HSLhsl(252, 19%, 58%)
OKLCHoklch(61.9% 0.062 293.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 #877FA8 3.72:1 AA large text Lc -70.4 Content text, not long reading
Black text on #877FA8 5.63:1 AA Lc 39.2 Non-text elements, placeholder text
#877FA8 text on white 3.72:1 AA large text Lc 64.9 Content text, not long reading
#877FA8 text on black 5.63:1 AA Lc -36.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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #D9D7E3

    oklch(88.4% 0.016 293.7)

  4. Step 300

    300

    #C1BDD3

    oklch(80.8% 0.031 294)

  5. Step 400

    400

    #A19BBD

    oklch(70.6% 0.05 293.2)

  6. Step 500

    500 (this color)

    #877FA8

    oklch(61.9% 0.062 293.5)

  7. Step 600

    600

    #756C97

    oklch(55.6% 0.067 293.7)

  8. Step 700

    700

    #625A81

    oklch(49.1% 0.062 293.4)

  9. Step 800

    800

    #504A69

    oklch(42.8% 0.051 293)

  10. Step 900

    900

    #423E55

    oklch(37.7% 0.039 292.4)

  11. Step 950

    950

    #272432

    oklch(27% 0.026 294.4)

Export this scale for Tailwind in the Tailwind colors tool

#877FA8 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)#7685AA0.027
Deuteranopia (no green cones)#7684A70.027
Tritanopia (no blue cones)#81858D0.051
Achromatopsia (no color)#8484840.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #877FA8

    #877FA8

    oklch(61.9% 0.062 293.5)

  • #858A5F

    #858A5F

    oklch(61.8% 0.061 113.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877FA8

    #877FA8

    oklch(61.9% 0.062 293.5)

  • #7286AC

    #7286AC

    oklch(61.9% 0.062 263)

  • #98799B

    #98799B

    oklch(61.7% 0.062 323.4)

Open the analogous palette in the generator

Split complementary

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

  • #877FA8

    #877FA8

    oklch(61.9% 0.062 293.5)

  • #98835A

    #98835A

    oklch(61.9% 0.062 83.6)

  • #70906E

    #70906E

    oklch(61.9% 0.062 143.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877FA8

    #877FA8

    oklch(61.9% 0.062 293.5)

  • #A47C63

    #A47C63

    oklch(61.9% 0.062 53.3)

  • #5D9282

    #5D9282

    oklch(61.8% 0.062 173.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877FA8

    #877FA8

    oklch(61.9% 0.062 293.5)

  • #A87774

    #A87774

    oklch(61.8% 0.062 23)

  • #858A5F

    #858A5F

    oklch(61.8% 0.061 113.6)

  • #569196

    #569196

    oklch(61.8% 0.062 202.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #877FA8 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.