#816DD2

Closest named color: Medium Purple (#9370DB). oklch(60% 0.15 290.3), rgb(129, 109, 210).

Aa

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

About this color

#816DD2 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.150 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.033 away. Black text reads best on it, at 5.05:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.150)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.05:1
White text4.15:1

Values

HEX#816DD2
RGBrgb(129, 109, 210)
HSLhsl(252, 53%, 63%)
OKLCHoklch(60% 0.15 290.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 #816DD2 4.15:1 AA large text Lc -73.9 Content text, not long reading
Black text on #816DD2 5.05:1 AA Lc 35.6 Non-text elements, placeholder text
#816DD2 text on white 4.15:1 AA large text Lc 68.4 Content text, not long reading
#816DD2 text on black 5.05:1 AA Lc -33.2 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #BFB9ED

    oklch(80.8% 0.073 289.9)

  5. Step 400

    400

    #A093E4

    oklch(70.6% 0.117 290.4)

  6. Step 500

    500 (this color)

    #816DD2

    oklch(60% 0.15 290.3)

  7. Step 600

    600

    #755DCA

    oklch(55.6% 0.162 290.2)

  8. Step 700

    700

    #624CAF

    oklch(49.1% 0.151 289.9)

  9. Step 800

    800

    #503F8D

    oklch(42.7% 0.124 290.2)

  10. Step 900

    900

    #423671

    oklch(37.7% 0.098 290.3)

  11. Step 950

    950

    #272042

    oklch(27% 0.062 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#816DD2 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)#477ED60.079
Deuteranopia (no green cones)#487AD00.077
Tritanopia (no blue cones)#6C81950.124
Achromatopsia (no color)#7C7C7C0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #816DD2

    #816DD2

    oklch(60% 0.15 290.3)

  • #858600

    #858600

    oklch(59.9% 0.131 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #816DD2

    #816DD2

    oklch(60% 0.15 290.3)

  • #487ED8

    #487ED8

    oklch(60% 0.149 260)

  • #A75FB7

    #A75FB7

    oklch(60.1% 0.149 320.1)

Open the analogous palette in the generator

Split complementary

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

  • #816DD2

    #816DD2

    oklch(60% 0.15 290.3)

  • #A67600

    #A67600

    oklch(59.9% 0.124 80.2)

  • #489538

    #489538

    oklch(60% 0.15 140.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #816DD2

    #816DD2

    oklch(60% 0.15 290.3)

  • #C46016

    #C46016

    oklch(60% 0.15 50.3)

  • #009676

    #009676

    oklch(59.9% 0.118 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #816DD2

    #816DD2

    oklch(60% 0.15 290.3)

  • #CA5559

    #CA5559

    oklch(60.1% 0.149 20.7)

  • #858600

    #858600

    oklch(59.9% 0.131 110.3)

  • #009298

    #009298

    oklch(60% 0.102 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #816DD2 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.