#817D8D

Closest named color: Lavender Gray (#7E7F9A). oklch(59.9% 0.024 297.1), rgb(129, 125, 141).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-dark (60%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameLavender Gray (#7E7F9A)
Black text5.25:1
White text3.99:1

Values

HEX#817D8D
RGBrgb(129, 125, 141)
HSLhsl(255, 7%, 52%)
OKLCHoklch(59.9% 0.024 297.1)

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 #817D8D 3.99:1 AA large text Lc -72.8 Content text, not long reading
Black text on #817D8D 5.25:1 AA Lc 36.8 Non-text elements, placeholder text
#817D8D text on white 3.99:1 AA large text Lc 67.3 Content text, not long reading
#817D8D text on black 5.25:1 AA Lc -34.3 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

    #D9D8DD

    oklch(88.4% 0.007 295.4)

  4. Step 300

    300

    #C1BFC8

    oklch(80.9% 0.013 296.3)

  5. Step 400

    400

    #A19EAB

    oklch(70.6% 0.019 296.5)

  6. Step 500

    500 (this color)

    #817D8D

    oklch(59.9% 0.024 297.1)

  7. Step 600

    600

    #757081

    oklch(55.6% 0.027 299)

  8. Step 700

    700

    #625E6D

    oklch(49.1% 0.024 297.7)

  9. Step 800

    800

    #504D59

    oklch(42.8% 0.02 297)

  10. Step 900

    900

    #424049

    oklch(37.7% 0.015 295.8)

  11. Step 950

    950

    #27252B

    oklch(26.9% 0.011 300.8)

Export this scale for Tailwind in the Tailwind colors tool

#817D8D 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)#7A7F8E0.011
Deuteranopia (no green cones)#7B7F8C0.011
Tritanopia (no blue cones)#7F7F820.020
Achromatopsia (no color)#7F7F7F0.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #817D8D

    #817D8D

    oklch(59.9% 0.024 297.1)

  • #7E8272

    #7E8272

    oklch(59.8% 0.024 118.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817D8D

    #817D8D

    oklch(59.9% 0.024 297.1)

  • #79808F

    #79808F

    oklch(59.9% 0.024 265.6)

  • #887B88

    #887B88

    oklch(59.9% 0.025 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #817D8D

    #817D8D

    oklch(59.9% 0.024 297.1)

  • #867F70

    #867F70

    oklch(59.8% 0.024 86)

  • #778477

    #778477

    oklch(59.9% 0.025 145.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817D8D

    #817D8D

    oklch(59.9% 0.024 297.1)

  • #8C7C72

    #8C7C72

    oklch(59.8% 0.025 54.1)

  • #71857F

    #71857F

    oklch(59.9% 0.025 175.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817D8D

    #817D8D

    oklch(59.9% 0.024 297.1)

  • #8E7B78

    #8E7B78

    oklch(60% 0.024 28.5)

  • #7E8272

    #7E8272

    oklch(59.8% 0.024 118.5)

  • #6F8487

    #6F8487

    oklch(59.8% 0.025 207)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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