#817ACE

Closest named color: Medium Purple (#9370DB). oklch(62.2% 0.125 286), rgb(129, 122, 206).

Aa

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

About this color

#817ACE is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.125 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.043 away. Black text reads best on it, at 5.60:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.60:1
White text3.74:1

Values

HEX#817ACE
RGBrgb(129, 122, 206)
HSLhsl(245, 46%, 64%)
OKLCHoklch(62.2% 0.125 286)

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 #817ACE 3.74:1 AA large text Lc -70.4 Content text, not long reading
Black text on #817ACE 5.60:1 AA Lc 39.2 Non-text elements, placeholder text
#817ACE text on white 3.74:1 AA large text Lc 64.9 Content text, not long reading
#817ACE text on black 5.60:1 AA Lc -36.8 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D7D6EF

    oklch(88.5% 0.034 287.5)

  4. Step 300

    300

    #BCBCE7

    oklch(81% 0.06 285)

  5. Step 400

    400

    #9B98DB

    oklch(70.8% 0.097 285.7)

  6. Step 500

    500 (this color)

    #817ACE

    oklch(62.2% 0.125 286)

  7. Step 600

    600

    #6E64BE

    oklch(55.5% 0.136 286.2)

  8. Step 700

    700

    #5C53A4

    oklch(49.1% 0.126 285.8)

  9. Step 800

    800

    #4B4485

    oklch(42.6% 0.105 286)

  10. Step 900

    900

    #3E3A6A

    oklch(37.6% 0.081 285.6)

  11. Step 950

    950

    #24223E

    oklch(26.9% 0.051 285.7)

Export this scale for Tailwind in the Tailwind colors tool

#817ACE 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)#5E86D10.051
Deuteranopia (no green cones)#5C82CC0.051
Tritanopia (no blue cones)#6C8A9A0.106
Achromatopsia (no color)#8484840.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #817ACE

    #817ACE

    oklch(62.2% 0.125 286)

  • #918B1A

    #918B1A

    oklch(62.3% 0.125 106.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817ACE

    #817ACE

    oklch(62.2% 0.125 286)

  • #5188D0

    #5188D0

    oklch(62.1% 0.124 255.8)

  • #A46EB9

    #A46EB9

    oklch(62.3% 0.124 316.1)

Open the analogous palette in the generator

Split complementary

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

  • #817ACE

    #817ACE

    oklch(62.2% 0.125 286)

  • #B17B16

    #B17B16

    oklch(62.3% 0.124 76.3)

  • #639748

    #639748

    oklch(62.1% 0.124 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817ACE

    #817ACE

    oklch(62.2% 0.125 286)

  • #C36C41

    #C36C41

    oklch(62.2% 0.125 45.8)

  • #169E75

    #169E75

    oklch(62.2% 0.125 165.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817ACE

    #817ACE

    oklch(62.2% 0.125 286)

  • #C6646D

    #C6646D

    oklch(62.1% 0.125 15.7)

  • #918B1A

    #918B1A

    oklch(62.3% 0.125 106.3)

  • #009A9C

    #009A9C

    oklch(62.2% 0.106 196.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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