#8A7F88

Closest named color: Gray (#808080). oklch(60.9% 0.019 331.8), rgb(138, 127, 136).

Aa

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

About this color

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

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

Values

HEX#8A7F88
RGBrgb(138, 127, 136)
HSLhsl(311, 4%, 52%)
OKLCHoklch(60.9% 0.019 331.8)

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 #8A7F88 3.83:1 AA large text Lc -71.4 Content text, not long reading
Black text on #8A7F88 5.47:1 AA Lc 38.2 Non-text elements, placeholder text
#8A7F88 text on white 3.83:1 AA large text Lc 65.9 Content text, not long reading
#8A7F88 text on black 5.47:1 AA Lc -35.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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EA

    oklch(93.6% 0.003 345.2)

  3. Step 200

    200

    #DBD8DA

    oklch(88.5% 0.004 337.4)

  4. Step 300

    300

    #C4BEC3

    oklch(80.8% 0.01 331)

  5. Step 400

    400

    #A69DA5

    oklch(70.6% 0.015 329.2)

  6. Step 500

    500 (this color)

    #8A7F88

    oklch(60.9% 0.019 331.8)

  7. Step 600

    600

    #7B6F79

    oklch(55.6% 0.021 331.3)

  8. Step 700

    700

    #675D66

    oklch(49.1% 0.019 329)

  9. Step 800

    800

    #544C53

    oklch(42.7% 0.015 329.8)

  10. Step 900

    900

    #463F44

    oklch(37.7% 0.013 335.9)

  11. Step 950

    950

    #292528

    oklch(27% 0.008 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A7F88 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)#7F81880.017
Deuteranopia (no green cones)#8183880.017
Tritanopia (no blue cones)#8B7F820.009
Achromatopsia (no color)#8282820.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7F88

    #8A7F88

    oklch(60.9% 0.019 331.8)

  • #7B867D

    #7B867D

    oklch(60.8% 0.019 150.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7F88

    #8A7F88

    oklch(60.9% 0.019 331.8)

  • #85808D

    #85808D

    oklch(60.9% 0.02 303.2)

  • #8D7E82

    #8D7E82

    oklch(60.8% 0.019 359.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A7F88

    #8A7F88

    oklch(60.9% 0.019 331.8)

  • #818579

    #818579

    oklch(61% 0.018 122)

  • #778784

    #778784

    oklch(61% 0.019 183.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7F88

    #8A7F88

    oklch(60.9% 0.019 331.8)

  • #878377

    #878377

    oklch(61% 0.018 91.6)

  • #778689

    #778689

    oklch(60.9% 0.018 211.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7F88

    #8A7F88

    oklch(60.9% 0.019 331.8)

  • #8C8178

    #8C8178

    oklch(61% 0.019 61.8)

  • #7B867D

    #7B867D

    oklch(60.8% 0.019 150.9)

  • #7A858D

    #7A858D

    oklch(61% 0.018 239.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A7F88 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.