#817DA3

Closest named color: Lavender Gray (#7E7F9A). oklch(60.7% 0.057 289.4), rgb(129, 125, 163).

Aa

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

About this color

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

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

Values

HEX#817DA3
RGBrgb(129, 125, 163)
HSLhsl(246, 17%, 56%)
OKLCHoklch(60.7% 0.057 289.4)

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 #817DA3 3.89:1 AA large text Lc -71.9 Content text, not long reading
Black text on #817DA3 5.39:1 AA Lc 37.7 Non-text elements, placeholder text
#817DA3 text on white 3.89:1 AA large text Lc 66.4 Content text, not long reading
#817DA3 text on black 5.39:1 AA Lc -35.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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D8D8E3

    oklch(88.5% 0.015 286.1)

  4. Step 300

    300

    #C0BED2

    oklch(80.9% 0.028 290.4)

  5. Step 400

    400

    #9F9CBB

    oklch(70.6% 0.045 289.6)

  6. Step 500

    500 (this color)

    #817DA3

    oklch(60.7% 0.057 289.4)

  7. Step 600

    600

    #726D96

    oklch(55.5% 0.063 289.8)

  8. Step 700

    700

    #605B80

    oklch(49.1% 0.059 290.2)

  9. Step 800

    800

    #4E4B68

    oklch(42.8% 0.048 289)

  10. Step 900

    900

    #413E54

    oklch(37.6% 0.037 290.7)

  11. Step 950

    950

    #262531

    oklch(27.1% 0.022 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#817DA3 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)#7482A50.021
Deuteranopia (no green cones)#7480A20.020
Tritanopia (no blue cones)#7A838A0.049
Achromatopsia (no color)#8181810.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #817DA3

    #817DA3

    oklch(60.7% 0.057 289.4)

  • #84865D

    #84865D

    oklch(60.8% 0.058 110.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817DA3

    #817DA3

    oklch(60.7% 0.057 289.4)

  • #6E83A5

    #6E83A5

    oklch(60.6% 0.058 259.9)

  • #927898

    #927898

    oklch(60.8% 0.056 319.9)

Open the analogous palette in the generator

Split complementary

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

  • #817DA3

    #817DA3

    oklch(60.7% 0.057 289.4)

  • #957F5B

    #957F5B

    oklch(60.8% 0.057 79.6)

  • #718B6A

    #718B6A

    oklch(60.7% 0.057 139.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817DA3

    #817DA3

    oklch(60.7% 0.057 289.4)

  • #9F7964

    #9F7964

    oklch(60.8% 0.057 50.2)

  • #5F8E7D

    #5F8E7D

    oklch(60.8% 0.058 169.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817DA3

    #817DA3

    oklch(60.7% 0.057 289.4)

  • #A27574

    #A27574

    oklch(60.7% 0.057 20.3)

  • #84865D

    #84865D

    oklch(60.8% 0.058 110.4)

  • #578D8F

    #578D8F

    oklch(60.7% 0.057 198.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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