#817FAE

Closest named color: Lavender Gray (#7E7F9A). oklch(61.6% 0.071 286.1), rgb(129, 127, 174).

Aa

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

About this color

#817FAE is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.071 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.032 away. Black text reads best on it, at 5.58:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.58:1
White text3.76:1

Values

HEX#817FAE
RGBrgb(129, 127, 174)
HSLhsl(243, 22%, 59%)
OKLCHoklch(61.6% 0.071 286.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 #817FAE 3.76:1 AA large text Lc -70.7 Content text, not long reading
Black text on #817FAE 5.58:1 AA Lc 38.9 Non-text elements, placeholder text
#817FAE text on white 3.76:1 AA large text Lc 65.2 Content text, not long reading
#817FAE text on black 5.58:1 AA Lc -36.5 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

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D8D8E6

    oklch(88.6% 0.019 286)

  4. Step 300

    300

    #BEBED7

    oklch(80.9% 0.035 285.6)

  5. Step 400

    400

    #9D9CC2

    oklch(70.7% 0.055 286.1)

  6. Step 500

    500 (this color)

    #817FAE

    oklch(61.6% 0.071 286.1)

  7. Step 600

    600

    #6F6D9E

    oklch(55.6% 0.075 285.5)

  8. Step 700

    700

    #5D5B88

    oklch(49.2% 0.071 285.5)

  9. Step 800

    800

    #4C4A6E

    oklch(42.7% 0.059 286.1)

  10. Step 900

    900

    #3F3E59

    oklch(37.7% 0.046 285.7)

  11. Step 950

    950

    #252434

    oklch(26.9% 0.03 287.1)

Export this scale for Tailwind in the Tailwind colors tool

#817FAE 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)#7385B00.024
Deuteranopia (no green cones)#7282AD0.022
Tritanopia (no blue cones)#77878F0.061
Achromatopsia (no color)#8484840.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #817FAE

    #817FAE

    oklch(61.6% 0.071 286.1)

  • #8A8855

    #8A8855

    oklch(61.6% 0.071 106.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817FAE

    #817FAE

    oklch(61.6% 0.071 286.1)

  • #6987AF

    #6987AF

    oklch(61.6% 0.07 255.8)

  • #9678A2

    #9678A2

    oklch(61.6% 0.071 316.2)

Open the analogous palette in the generator

Split complementary

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

  • #817FAE

    #817FAE

    oklch(61.6% 0.071 286.1)

  • #9E7F54

    #9E7F54

    oklch(61.6% 0.07 74.9)

  • #728F64

    #728F64

    oklch(61.6% 0.071 135.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817FAE

    #817FAE

    oklch(61.6% 0.071 286.1)

  • #A97861

    #A97861

    oklch(61.6% 0.07 46.1)

  • #5A937B

    #5A937B

    oklch(61.7% 0.071 165.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817FAE

    #817FAE

    oklch(61.6% 0.071 286.1)

  • #AB7476

    #AB7476

    oklch(61.6% 0.07 16.9)

  • #8A8855

    #8A8855

    oklch(61.6% 0.071 106.4)

  • #4D9293

    #4D9293

    oklch(61.5% 0.07 196.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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