#817EDA

Closest named color: Medium Purple (#9370DB). oklch(63.6% 0.136 283.3), rgb(129, 126, 218).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.93:1
White text3.54:1

Values

HEX#817EDA
RGBrgb(129, 126, 218)
HSLhsl(242, 55%, 67%)
OKLCHoklch(63.6% 0.136 283.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 #817EDA 3.54:1 AA large text Lc -68.4 Content text, not long reading
Black text on #817EDA 5.93:1 AA Lc 41.2 Non-text elements, placeholder text
#817EDA text on white 3.54:1 AA large text Lc 62.9 Content text, not long reading
#817EDA text on black 5.93:1 AA Lc -38.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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D5D7F1

    oklch(88.6% 0.036 282.1)

  4. Step 300

    300

    #BABCEB

    oklch(81% 0.066 282.9)

  5. Step 400

    400

    #9898E1

    oklch(70.8% 0.106 283.4)

  6. Step 500

    500 (this color)

    #817EDA

    oklch(63.6% 0.136 283.3)

  7. Step 600

    600

    #6A64C6

    oklch(55.7% 0.148 283.3)

  8. Step 700

    700

    #5852AB

    oklch(49% 0.138 283.1)

  9. Step 800

    800

    #48448A

    oklch(42.7% 0.113 283.1)

  10. Step 900

    900

    #3C3A6F

    oklch(37.8% 0.089 283)

  11. Step 950

    950

    #232241

    oklch(27% 0.057 283.4)

Export this scale for Tailwind in the Tailwind colors tool

#817EDA 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)#5D8BDD0.052
Deuteranopia (no green cones)#5985D80.052
Tritanopia (no blue cones)#6790A10.117
Achromatopsia (no color)#8888880.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #817EDA

    #817EDA

    oklch(63.6% 0.136 283.3)

  • #9A8E00

    #9A8E00

    oklch(63.7% 0.134 103.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817EDA

    #817EDA

    oklch(63.6% 0.136 283.3)

  • #4A8DDB

    #4A8DDB

    oklch(63.5% 0.136 253.7)

  • #A870C5

    #A870C5

    oklch(63.6% 0.136 313.3)

Open the analogous palette in the generator

Split complementary

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

  • #817EDA

    #817EDA

    oklch(63.6% 0.136 283.3)

  • #BB7C00

    #BB7C00

    oklch(63.6% 0.135 73.6)

  • #699C40

    #699C40

    oklch(63.6% 0.135 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817EDA

    #817EDA

    oklch(63.6% 0.136 283.3)

  • #CD6C42

    #CD6C42

    oklch(63.5% 0.135 43.2)

  • #07A473

    #07A473

    oklch(63.6% 0.136 163.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817EDA

    #817EDA

    oklch(63.6% 0.136 283.3)

  • #CF6473

    #CF6473

    oklch(63.5% 0.136 13)

  • #9A8E00

    #9A8E00

    oklch(63.7% 0.134 103.5)

  • #009F9D

    #009F9D

    oklch(63.5% 0.109 193.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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