#817FAC

Closest named color: Lavender Gray (#7E7F9A). oklch(61.5% 0.068 286.3), rgb(129, 127, 172).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamuted (0.068)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.56:1
White text3.77:1

Values

HEX#817FAC
RGBrgb(129, 127, 172)
HSLhsl(243, 21%, 59%)
OKLCHoklch(61.5% 0.068 286.3)

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 #817FAC 3.77:1 AA large text Lc -70.8 Content text, not long reading
Black text on #817FAC 5.56:1 AA Lc 38.8 Non-text elements, placeholder text
#817FAC text on white 3.77:1 AA large text Lc 65.3 Content text, not long reading
#817FAC text on black 5.56:1 AA Lc -36.4 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

    #D8D8E5

    oklch(88.6% 0.018 286)

  4. Step 300

    300

    #BEBED6

    oklch(80.9% 0.034 285.6)

  5. Step 400

    400

    #9D9CC1

    oklch(70.6% 0.054 286.2)

  6. Step 500

    500 (this color)

    #817FAC

    oklch(61.5% 0.068 286.3)

  7. Step 600

    600

    #706D9D

    oklch(55.7% 0.074 286.6)

  8. Step 700

    700

    #5D5B86

    oklch(49.1% 0.068 285.7)

  9. Step 800

    800

    #4C4A6D

    oklch(42.6% 0.058 286.3)

  10. Step 900

    900

    #3F3E58

    oklch(37.6% 0.044 285.8)

  11. Step 950

    950

    #252434

    oklch(26.9% 0.03 287.1)

Export this scale for Tailwind in the Tailwind colors tool

#817FAC 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)#7385AE0.024
Deuteranopia (no green cones)#7282AB0.022
Tritanopia (no blue cones)#77878F0.059
Achromatopsia (no color)#8383830.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #817FAC

    #817FAC

    oklch(61.5% 0.068 286.3)

  • #8A8857

    #8A8857

    oklch(61.6% 0.068 106.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817FAC

    #817FAC

    oklch(61.5% 0.068 286.3)

  • #6A87AD

    #6A87AD

    oklch(61.6% 0.067 255.4)

  • #9578A0

    #9578A0

    oklch(61.4% 0.068 316.6)

Open the analogous palette in the generator

Split complementary

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

  • #817FAC

    #817FAC

    oklch(61.5% 0.068 286.3)

  • #9C7F56

    #9C7F56

    oklch(61.4% 0.067 75.6)

  • #728E66

    #728E66

    oklch(61.4% 0.067 136.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817FAC

    #817FAC

    oklch(61.5% 0.068 286.3)

  • #A77862

    #A77862

    oklch(61.4% 0.067 46.1)

  • #5C927C

    #5C927C

    oklch(61.6% 0.067 166.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817FAC

    #817FAC

    oklch(61.5% 0.068 286.3)

  • #AA7477

    #AA7477

    oklch(61.5% 0.068 15.6)

  • #8A8857

    #8A8857

    oklch(61.6% 0.068 106.2)

  • #4F9292

    #4F9292

    oklch(61.6% 0.068 195.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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