#877F8B

Closest named color: Gray (#808080). oklch(60.7% 0.02 314.7), rgb(135, 127, 139).

Aa

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

About this color

#877F8B is a medium-dark close to neutral grey. In OKLCH its lightness is 61%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Gray (#808080), ΔE 0.022 away. Black text reads best on it, at 5.43:1.

Hue familyNeutrals
Lightnessmedium-dark (61%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameGray (#808080)
Black text5.43:1
White text3.86:1

Values

HEX#877F8B
RGBrgb(135, 127, 139)
HSLhsl(280, 5%, 52%)
OKLCHoklch(60.7% 0.02 314.7)

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 #877F8B 3.86:1 AA large text Lc -71.6 Content text, not long reading
Black text on #877F8B 5.43:1 AA Lc 38.0 Non-text elements, placeholder text
#877F8B text on white 3.86:1 AA large text Lc 66.1 Content text, not long reading
#877F8B text on black 5.43:1 AA Lc -35.6 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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EAE9EB

    oklch(93.5% 0.003 308.4)

  3. Step 200

    200

    #DAD8DC

    oklch(88.5% 0.006 308.4)

  4. Step 300

    300

    #C3BFC5

    oklch(81% 0.009 314.8)

  5. Step 400

    400

    #A49EA8

    oklch(70.7% 0.016 312.2)

  6. Step 500

    500 (this color)

    #877F8B

    oklch(60.7% 0.02 314.7)

  7. Step 600

    600

    #78707C

    oklch(55.6% 0.021 314.6)

  8. Step 700

    700

    #655D69

    oklch(49% 0.021 314.6)

  9. Step 800

    800

    #524C56

    oklch(42.6% 0.018 312)

  10. Step 900

    900

    #444047

    oklch(37.8% 0.013 311)

  11. Step 950

    950

    #282529

    oklch(26.9% 0.008 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#877F8B 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)#7E818C0.014
Deuteranopia (no green cones)#7F828B0.014
Tritanopia (no blue cones)#8780830.014
Achromatopsia (no color)#8282820.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #877F8B

    #877F8B

    oklch(60.7% 0.02 314.7)

  • #7D8579

    #7D8579

    oklch(60.6% 0.02 135)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877F8B

    #877F8B

    oklch(60.7% 0.02 314.7)

  • #81818E

    #81818E

    oklch(60.8% 0.019 285.8)

  • #8C7E85

    #8C7E85

    oklch(60.8% 0.02 346)

Open the analogous palette in the generator

Split complementary

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

  • #877F8B

    #877F8B

    oklch(60.7% 0.02 314.7)

  • #848376

    #848376

    oklch(60.7% 0.019 103.4)

  • #78867F

    #78867F

    oklch(60.6% 0.019 164.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877F8B

    #877F8B

    oklch(60.7% 0.02 314.7)

  • #8A8175

    #8A8175

    oklch(60.8% 0.021 75.2)

  • #758686

    #758686

    oklch(60.6% 0.02 196.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877F8B

    #877F8B

    oklch(60.7% 0.02 314.7)

  • #8D7F79

    #8D7F79

    oklch(60.7% 0.019 44.7)

  • #7D8579

    #7D8579

    oklch(60.6% 0.02 135)

  • #76858C

    #76858C

    oklch(60.7% 0.021 227.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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