#817E9A

Closest named color: Lavender Gray (#7E7F9A). oklch(60.6% 0.042 290), rgb(129, 126, 154).

Aa

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

About this color

#817E9A is a medium-dark, muted purple. In OKLCH its lightness is 61%, its chroma 0.042 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.005 away. Black text reads best on it, at 5.38:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamuted (0.042)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.38:1
White text3.90:1

Values

HEX#817E9A
RGBrgb(129, 126, 154)
HSLhsl(246, 12%, 55%)
OKLCHoklch(60.6% 0.042 290)

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 #817E9A 3.90:1 AA large text Lc -72.0 Content text, not long reading
Black text on #817E9A 5.38:1 AA Lc 37.6 Non-text elements, placeholder text
#817E9A text on white 3.90:1 AA large text Lc 66.4 Content text, not long reading
#817E9A text on black 5.38:1 AA Lc -35.2 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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D9D8E0

    oklch(88.5% 0.011 291.9)

  4. Step 300

    300

    #C0BFCD

    oklch(81% 0.02 289.2)

  5. Step 400

    400

    #A09EB4

    oklch(70.8% 0.032 289.7)

  6. Step 500

    500 (this color)

    #817E9A

    oklch(60.6% 0.042 290)

  7. Step 600

    600

    #726F8D

    oklch(55.5% 0.046 289.4)

  8. Step 700

    700

    #605D78

    oklch(49.1% 0.043 289.8)

  9. Step 800

    800

    #4E4C61

    oklch(42.7% 0.035 289.2)

  10. Step 900

    900

    #413F50

    oklch(37.6% 0.029 290.3)

  11. Step 950

    950

    #26252F

    oklch(27% 0.018 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#817E9A 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)#78819B0.014
Deuteranopia (no green cones)#7880990.014
Tritanopia (no blue cones)#7C82870.036
Achromatopsia (no color)#8181810.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #817E9A

    #817E9A

    oklch(60.6% 0.042 290)

  • #838467

    #838467

    oklch(60.5% 0.042 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817E9A

    #817E9A

    oklch(60.6% 0.042 290)

  • #73839C

    #73839C

    oklch(60.6% 0.043 259.3)

  • #8D7A92

    #8D7A92

    oklch(60.5% 0.042 319.2)

Open the analogous palette in the generator

Split complementary

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

  • #817E9A

    #817E9A

    oklch(60.6% 0.042 290)

  • #8F8065

    #8F8065

    oklch(60.6% 0.043 82.2)

  • #758871

    #758871

    oklch(60.5% 0.041 140.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817E9A

    #817E9A

    oklch(60.6% 0.042 290)

  • #977B6C

    #977B6C

    oklch(60.5% 0.041 49.7)

  • #698A7E

    #698A7E

    oklch(60.5% 0.041 170.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817E9A

    #817E9A

    oklch(60.6% 0.042 290)

  • #9A7877

    #9A7877

    oklch(60.5% 0.043 20.4)

  • #838467

    #838467

    oklch(60.5% 0.042 109.2)

  • #648A8C

    #648A8C

    oklch(60.6% 0.042 200.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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