#816BEA

Closest named color: Medium Slate Blue (#7B68EE). oklch(61.2% 0.184 287.6), rgb(129, 107, 234).

Aa

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

About this color

#816BEA is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.184 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.014 away. Black text reads best on it, at 5.22:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.184)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.22:1
White text4.01:1

Values

HEX#816BEA
RGBrgb(129, 107, 234)
HSLhsl(250, 75%, 67%)
OKLCHoklch(61.2% 0.184 287.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 #816BEA 4.01:1 AA large text Lc -72.7 Content text, not long reading
Black text on #816BEA 5.22:1 AA Lc 36.9 Non-text elements, placeholder text
#816BEA text on white 4.01:1 AA large text Lc 67.2 Content text, not long reading
#816BEA text on black 5.22:1 AA Lc -34.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D7D5F9

    oklch(88.6% 0.049 287.9)

  4. Step 300

    300

    #BDB8F8

    oklch(80.9% 0.09 287.8)

  5. Step 400

    400

    #9C90F5

    oklch(70.6% 0.145 287.5)

  6. Step 500

    500 (this color)

    #816BEA

    oklch(61.2% 0.184 287.6)

  7. Step 600

    600

    #7255DF

    oklch(55.5% 0.2 287.7)

  8. Step 700

    700

    #6044C2

    oklch(49.1% 0.187 287.7)

  9. Step 800

    800

    #4E399D

    oklch(42.7% 0.155 287.6)

  10. Step 900

    900

    #40337D

    oklch(37.8% 0.12 287.2)

  11. Step 950

    950

    #251E49

    oklch(26.9% 0.077 287.5)

Export this scale for Tailwind in the Tailwind colors tool

#816BEA 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)#2682EE0.101
Deuteranopia (no green cones)#267BE70.099
Tritanopia (no blue cones)#6087A00.154
Achromatopsia (no color)#7F7F7F0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #816BEA

    #816BEA

    oklch(61.2% 0.184 287.6)

  • #8C8800

    #8C8800

    oklch(61% 0.131 107.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #816BEA

    #816BEA

    oklch(61.2% 0.184 287.6)

  • #3080EF

    #3080EF

    oklch(61.1% 0.184 257.7)

  • #AF58CA

    #AF58CA

    oklch(61.1% 0.184 317.6)

Open the analogous palette in the generator

Split complementary

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

  • #816BEA

    #816BEA

    oklch(61.2% 0.184 287.6)

  • #AD7800

    #AD7800

    oklch(61.1% 0.127 77.8)

  • #439B0A

    #439B0A

    oklch(61.1% 0.184 137.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #816BEA

    #816BEA

    oklch(61.2% 0.184 287.6)

  • #D05C00

    #D05C00

    oklch(61.1% 0.167 47.7)

  • #009B75

    #009B75

    oklch(61.2% 0.124 167.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #816BEA

    #816BEA

    oklch(61.2% 0.184 287.6)

  • #DC4759

    #DC4759

    oklch(61.2% 0.185 17.7)

  • #8C8800

    #8C8800

    oklch(61% 0.131 107.6)

  • #00969A

    #00969A

    oklch(61.1% 0.104 198.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #816BEA.

Similar named colors

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

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