#817DA0

Closest named color: Lavender Gray (#7E7F9A). oklch(60.6% 0.053 290), rgb(129, 125, 160).

Aa

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

About this color

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

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

Values

HEX#817DA0
RGBrgb(129, 125, 160)
HSLhsl(247, 16%, 56%)
OKLCHoklch(60.6% 0.053 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 #817DA0 3.90:1 AA large text Lc -72.0 Content text, not long reading
Black text on #817DA0 5.37:1 AA Lc 37.6 Non-text elements, placeholder text
#817DA0 text on white 3.90:1 AA large text Lc 66.5 Content text, not long reading
#817DA0 text on black 5.37: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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D9D8E2

    oklch(88.6% 0.014 290.7)

  4. Step 300

    300

    #C0BED1

    oklch(80.9% 0.027 290.6)

  5. Step 400

    400

    #A09DB9

    oklch(70.8% 0.041 290.2)

  6. Step 500

    500 (this color)

    #817DA0

    oklch(60.6% 0.053 290)

  7. Step 600

    600

    #726E93

    oklch(55.6% 0.057 289.4)

  8. Step 700

    700

    #605C7D

    oklch(49.2% 0.052 289.9)

  9. Step 800

    800

    #4E4B66

    oklch(42.7% 0.044 289.5)

  10. Step 900

    900

    #413F53

    oklch(37.8% 0.034 289.2)

  11. Step 950

    950

    #262531

    oklch(27.1% 0.022 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#817DA0 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)#7581A20.019
Deuteranopia (no green cones)#75809F0.019
Tritanopia (no blue cones)#7B83890.045
Achromatopsia (no color)#8181810.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #817DA0

    #817DA0

    oklch(60.6% 0.053 290)

  • #848560

    #848560

    oklch(60.6% 0.053 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817DA0

    #817DA0

    oklch(60.6% 0.053 290)

  • #7083A2

    #7083A2

    oklch(60.6% 0.052 260.1)

  • #907896

    #907896

    oklch(60.5% 0.053 319.5)

Open the analogous palette in the generator

Split complementary

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

  • #817DA0

    #817DA0

    oklch(60.6% 0.053 290)

  • #937F5E

    #937F5E

    oklch(60.6% 0.053 79.9)

  • #728A6C

    #728A6C

    oklch(60.6% 0.052 139.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817DA0

    #817DA0

    oklch(60.6% 0.053 290)

  • #9D7966

    #9D7966

    oklch(60.6% 0.053 49.1)

  • #628D7D

    #628D7D

    oklch(60.7% 0.053 169.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817DA0

    #817DA0

    oklch(60.6% 0.053 290)

  • #9F7675

    #9F7675

    oklch(60.6% 0.052 20.3)

  • #848560

    #848560

    oklch(60.6% 0.053 109.2)

  • #5B8C8E

    #5B8C8E

    oklch(60.6% 0.053 199.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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