#817C88

Closest named color: Gray (#808080). oklch(59.5% 0.019 304.6), rgb(129, 124, 136).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-dark (59%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameGray (#808080)
Black text5.17:1
White text4.06:1

Values

HEX#817C88
RGBrgb(129, 124, 136)
HSLhsl(265, 5%, 51%)
OKLCHoklch(59.5% 0.019 304.6)

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 #817C88 4.06:1 AA large text Lc -73.3 Content text, not long reading
Black text on #817C88 5.17:1 AA Lc 36.2 Non-text elements, placeholder text
#817C88 text on white 4.06:1 AA large text Lc 67.8 Content text, not long reading
#817C88 text on black 5.17:1 AA Lc -33.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

    #F5F5F6

    oklch(97% 0.001 286.4)

  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

    #C2BFC5

    oklch(80.9% 0.009 308.3)

  5. Step 400

    400

    #A29EA8

    oklch(70.6% 0.015 304)

  6. Step 500

    500 (this color)

    #817C88

    oklch(59.5% 0.019 304.6)

  7. Step 600

    600

    #76707D

    oklch(55.5% 0.021 306.4)

  8. Step 700

    700

    #635E6A

    oklch(49.1% 0.02 304.5)

  9. Step 800

    800

    #514D56

    oklch(42.7% 0.016 305.7)

  10. Step 900

    900

    #434047

    oklch(37.7% 0.012 305.1)

  11. Step 950

    950

    #27262A

    oklch(27.1% 0.007 297.3)

Export this scale for Tailwind in the Tailwind colors tool

#817C88 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)#7A7E890.011
Deuteranopia (no green cones)#7B7E880.010
Tritanopia (no blue cones)#807D800.014
Achromatopsia (no color)#7E7E7E0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #817C88

    #817C88

    oklch(59.5% 0.019 304.6)

  • #7C8175

    #7C8175

    oklch(59.5% 0.019 125.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817C88

    #817C88

    oklch(59.5% 0.019 304.6)

  • #7B7E8A

    #7B7E8A

    oklch(59.5% 0.019 274.6)

  • #867B83

    #867B83

    oklch(59.5% 0.018 335.3)

Open the analogous palette in the generator

Split complementary

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

  • #817C88

    #817C88

    oklch(59.5% 0.019 304.6)

  • #827F72

    #827F72

    oklch(59.5% 0.02 96.3)

  • #76827A

    #76827A

    oklch(59.4% 0.019 156.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817C88

    #817C88

    oklch(59.5% 0.019 304.6)

  • #877D73

    #877D73

    oklch(59.6% 0.019 67.4)

  • #738380

    #738380

    oklch(59.6% 0.019 183.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817C88

    #817C88

    oklch(59.5% 0.019 304.6)

  • #897B77

    #897B77

    oklch(59.4% 0.018 36.5)

  • #7C8175

    #7C8175

    oklch(59.5% 0.019 125.5)

  • #728286

    #728286

    oklch(59.5% 0.02 214.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #817C88 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.