#817C92

Closest named color: Lavender Gray (#7E7F9A). oklch(59.8% 0.034 295.8), rgb(129, 124, 146).

Aa

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

About this color

#817C92 is a medium-dark, muted purple. In OKLCH its lightness is 60%, its chroma 0.034 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.013 away. Black text reads best on it, at 5.23:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamuted (0.034)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.23:1
White text4.01:1

Values

HEX#817C92
RGBrgb(129, 124, 146)
HSLhsl(254, 9%, 53%)
OKLCHoklch(59.8% 0.034 295.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 #817C92 4.01:1 AA large text Lc -72.9 Content text, not long reading
Black text on #817C92 5.23:1 AA Lc 36.6 Non-text elements, placeholder text
#817C92 text on white 4.01:1 AA large text Lc 67.4 Content text, not long reading
#817C92 text on black 5.23:1 AA Lc -34.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

    #EAE9ED

    oklch(93.6% 0.005 297.7)

  3. Step 200

    200

    #D9D8DF

    oklch(88.5% 0.01 292.8)

  4. Step 300

    300

    #C1BFCA

    oklch(81% 0.015 294.4)

  5. Step 400

    400

    #A29EB0

    oklch(70.8% 0.026 295.9)

  6. Step 500

    500 (this color)

    #817C92

    oklch(59.8% 0.034 295.8)

  7. Step 600

    600

    #756F87

    oklch(55.6% 0.037 296.6)

  8. Step 700

    700

    #625D72

    oklch(49.1% 0.034 296)

  9. Step 800

    800

    #504C5D

    oklch(42.7% 0.028 296)

  10. Step 900

    900

    #423F4C

    oklch(37.6% 0.022 295.9)

  11. Step 950

    950

    #27252D

    oklch(27% 0.015 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#817C92 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)#787F930.015
Deuteranopia (no green cones)#787F910.015
Tritanopia (no blue cones)#7E7F830.028
Achromatopsia (no color)#7F7F7F0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #817C92

    #817C92

    oklch(59.8% 0.034 295.8)

  • #7E826C

    #7E826C

    oklch(59.7% 0.033 115.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817C92

    #817C92

    oklch(59.8% 0.034 295.8)

  • #768094

    #768094

    oklch(59.9% 0.033 264.3)

  • #8B798B

    #8B798B

    oklch(59.9% 0.034 326)

Open the analogous palette in the generator

Split complementary

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

  • #817C92

    #817C92

    oklch(59.8% 0.034 295.8)

  • #897F69

    #897F69

    oklch(59.9% 0.034 86.5)

  • #738574

    #738574

    oklch(59.7% 0.033 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817C92

    #817C92

    oklch(59.8% 0.034 295.8)

  • #907B6D

    #907B6D

    oklch(59.8% 0.033 55.7)

  • #6B877F

    #6B877F

    oklch(59.9% 0.034 175.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817C92

    #817C92

    oklch(59.8% 0.034 295.8)

  • #937875

    #937875

    oklch(59.7% 0.034 25.6)

  • #7E826C

    #7E826C

    oklch(59.7% 0.033 115.8)

  • #698689

    #698689

    oklch(59.9% 0.033 204.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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