#817C8C

Closest named color: Lavender Gray (#7E7F9A). oklch(59.6% 0.025 299.9), rgb(129, 124, 140).

Aa

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

About this color

#817C8C is a medium-dark close to neutral grey. In OKLCH its lightness is 60%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.021 away. Black text reads best on it, at 5.19:1.

Hue familyNeutrals
Lightnessmedium-dark (60%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameLavender Gray (#7E7F9A)
Black text5.19:1
White text4.04:1

Values

HEX#817C8C
RGBrgb(129, 124, 140)
HSLhsl(259, 7%, 52%)
OKLCHoklch(59.6% 0.025 299.9)

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 #817C8C 4.04:1 AA large text Lc -73.2 Content text, not long reading
Black text on #817C8C 5.19:1 AA Lc 36.4 Non-text elements, placeholder text
#817C8C text on white 4.04:1 AA large text Lc 67.7 Content text, not long reading
#817C8C text on black 5.19:1 AA Lc -34.0 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

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #DAD8DD

    oklch(88.5% 0.007 304.2)

  4. Step 300

    300

    #C1BFC7

    oklch(80.9% 0.011 297.6)

  5. Step 400

    400

    #A29EAB

    oklch(70.7% 0.019 299.9)

  6. Step 500

    500 (this color)

    #817C8C

    oklch(59.6% 0.025 299.9)

  7. Step 600

    600

    #757081

    oklch(55.6% 0.027 299)

  8. Step 700

    700

    #635E6D

    oklch(49.2% 0.024 300.7)

  9. Step 800

    800

    #504D59

    oklch(42.8% 0.02 297)

  10. Step 900

    900

    #434049

    oklch(37.8% 0.016 300.8)

  11. Step 950

    950

    #27252B

    oklch(26.9% 0.011 300.8)

Export this scale for Tailwind in the Tailwind colors tool

#817C8C 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)#797E8D0.012
Deuteranopia (no green cones)#7A7E8B0.012
Tritanopia (no blue cones)#7F7E810.020
Achromatopsia (no color)#7E7E7E0.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #817C8C

    #817C8C

    oklch(59.6% 0.025 299.9)

  • #7D8171

    #7D8171

    oklch(59.5% 0.024 118.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817C8C

    #817C8C

    oklch(59.6% 0.025 299.9)

  • #797F8E

    #797F8E

    oklch(59.7% 0.024 268.3)

  • #887A86

    #887A86

    oklch(59.6% 0.025 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #817C8C

    #817C8C

    oklch(59.6% 0.025 299.9)

  • #857F6F

    #857F6F

    oklch(59.7% 0.025 89.9)

  • #758377

    #758377

    oklch(59.5% 0.024 149.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817C8C

    #817C8C

    oklch(59.6% 0.025 299.9)

  • #8B7C71

    #8B7C71

    oklch(59.7% 0.025 58.5)

  • #70847F

    #70847F

    oklch(59.6% 0.024 178.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817C8C

    #817C8C

    oklch(59.6% 0.025 299.9)

  • #8D7A76

    #8D7A76

    oklch(59.6% 0.024 31.8)

  • #7D8171

    #7D8171

    oklch(59.5% 0.024 118.5)

  • #6F8387

    #6F8387

    oklch(59.5% 0.024 211.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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