#817CD4

Closest named color: Medium Purple (#9370DB). oklch(62.9% 0.13 284.6), rgb(129, 124, 212).

Aa

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

About this color

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

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

Values

HEX#817CD4
RGBrgb(129, 124, 212)
HSLhsl(243, 51%, 66%)
OKLCHoklch(62.9% 0.13 284.6)

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 #817CD4 3.64:1 AA large text Lc -69.4 Content text, not long reading
Black text on #817CD4 5.76:1 AA Lc 40.2 Non-text elements, placeholder text
#817CD4 text on white 3.64:1 AA large text Lc 63.9 Content text, not long reading
#817CD4 text on black 5.76:1 AA Lc -37.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

    #D6D6F0

    oklch(88.4% 0.036 285.7)

  4. Step 300

    300

    #BBBCE9

    oklch(81% 0.063 283.9)

  5. Step 400

    400

    #9998DE

    oklch(70.8% 0.102 284.1)

  6. Step 500

    500 (this color)

    #817CD4

    oklch(62.9% 0.13 284.6)

  7. Step 600

    600

    #6C64C2

    oklch(55.6% 0.142 284.7)

  8. Step 700

    700

    #5A53A7

    oklch(49.1% 0.13 284.3)

  9. Step 800

    800

    #4A4488

    oklch(42.8% 0.11 284.8)

  10. Step 900

    900

    #3D3A6D

    oklch(37.7% 0.085 284.2)

  11. Step 950

    950

    #242240

    oklch(27% 0.055 285.1)

Export this scale for Tailwind in the Tailwind colors tool

#817CD4 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)#5E89D70.052
Deuteranopia (no green cones)#5B83D20.050
Tritanopia (no blue cones)#698D9E0.111
Achromatopsia (no color)#8686860.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #817CD4

    #817CD4

    oklch(62.9% 0.13 284.6)

  • #968C0D

    #968C0D

    oklch(62.9% 0.13 104.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817CD4

    #817CD4

    oklch(62.9% 0.13 284.6)

  • #4E8BD6

    #4E8BD6

    oklch(63% 0.13 254.7)

  • #A66FBF

    #A66FBF

    oklch(62.9% 0.13 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #817CD4

    #817CD4

    oklch(62.9% 0.13 284.6)

  • #B67B0C

    #B67B0C

    oklch(62.8% 0.13 74.6)

  • #669A44

    #669A44

    oklch(63% 0.13 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817CD4

    #817CD4

    oklch(62.9% 0.13 284.6)

  • #C86C41

    #C86C41

    oklch(62.8% 0.13 44.6)

  • #0FA174

    #0FA174

    oklch(62.9% 0.131 164.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817CD4

    #817CD4

    oklch(62.9% 0.13 284.6)

  • #CB6470

    #CB6470

    oklch(62.9% 0.131 14.3)

  • #968C0D

    #968C0D

    oklch(62.9% 0.13 104.3)

  • #009D9C

    #009D9C

    oklch(63% 0.108 194)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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