#817ABA

Closest named color: Deep Lilac (#966EBD). oklch(61.2% 0.096 288.2), rgb(129, 122, 186).

Aa

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

About this color

#817ABA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.096 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.044 away. Black text reads best on it, at 5.42:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.42:1
White text3.87:1

Values

HEX#817ABA
RGBrgb(129, 122, 186)
HSLhsl(247, 32%, 60%)
OKLCHoklch(61.2% 0.096 288.2)

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 #817ABA 3.87:1 AA large text Lc -71.6 Content text, not long reading
Black text on #817ABA 5.42:1 AA Lc 38.0 Non-text elements, placeholder text
#817ABA text on white 3.87:1 AA large text Lc 66.1 Content text, not long reading
#817ABA text on black 5.42:1 AA Lc -35.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E9F3

    oklch(93.7% 0.013 286.1)

  3. Step 200

    200

    #D8D7EA

    oklch(88.6% 0.026 288.3)

  4. Step 300

    300

    #BFBCDE

    oklch(80.9% 0.048 289.3)

  5. Step 400

    400

    #9E99CD

    oklch(70.6% 0.075 288.7)

  6. Step 500

    500 (this color)

    #817ABA

    oklch(61.2% 0.096 288.2)

  7. Step 600

    600

    #7168AD

    oklch(55.6% 0.105 288.5)

  8. Step 700

    700

    #5F5794

    oklch(49.2% 0.096 288.4)

  9. Step 800

    800

    #4D4778

    oklch(42.6% 0.08 288.1)

  10. Step 900

    900

    #403C61

    oklch(37.7% 0.063 288)

  11. Step 950

    950

    #252339

    oklch(26.9% 0.041 287.5)

Export this scale for Tailwind in the Tailwind colors tool

#817ABA 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)#6883BD0.039
Deuteranopia (no green cones)#6780B80.038
Tritanopia (no blue cones)#7385910.082
Achromatopsia (no color)#8181810.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #817ABA

    #817ABA

    oklch(61.2% 0.096 288.2)

  • #89883F

    #89883F

    oklch(61.2% 0.096 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817ABA

    #817ABA

    oklch(61.2% 0.096 288.2)

  • #5F85BD

    #5F85BD

    oklch(61.2% 0.096 257.9)

  • #9C71A9

    #9C71A9

    oklch(61.2% 0.096 318.2)

Open the analogous palette in the generator

Split complementary

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

  • #817ABA

    #817ABA

    oklch(61.2% 0.096 288.2)

  • #A37C3B

    #A37C3B

    oklch(61.1% 0.096 78.1)

  • #669158

    #669158

    oklch(61% 0.095 138.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817ABA

    #817ABA

    oklch(61.2% 0.096 288.2)

  • #B2714F

    #B2714F

    oklch(61% 0.096 48)

  • #3E9679

    #3E9679

    oklch(61.1% 0.096 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817ABA

    #817ABA

    oklch(61.2% 0.096 288.2)

  • #B66B6D

    #B66B6D

    oklch(61.1% 0.096 18.5)

  • #89883F

    #89883F

    oklch(61.2% 0.096 108.2)

  • #239599

    #239599

    oklch(61.2% 0.096 198.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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