#816DC7

Closest named color: Deep Lilac (#966EBD). oklch(59.4% 0.135 292), rgb(129, 109, 199).

Aa

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

About this color

#816DC7 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.135 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.038 away. Black text reads best on it, at 4.94:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text4.94:1
White text4.24:1

Values

HEX#816DC7
RGBrgb(129, 109, 199)
HSLhsl(253, 45%, 60%)
OKLCHoklch(59.4% 0.135 292)

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 #816DC7 4.24:1 AA large text Lc -74.7 Content text, not long reading
Black text on #816DC7 4.94:1 AA Lc 34.9 Non-text elements, placeholder text
#816DC7 text on white 4.24:1 AA large text Lc 69.2 Content text, not long reading
#816DC7 text on black 4.94:1 AA Lc -32.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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #D9D5F0

    oklch(88.4% 0.037 292.4)

  4. Step 300

    300

    #C1BAE8

    oklch(81% 0.065 291.9)

  5. Step 400

    400

    #A294DD

    oklch(70.7% 0.106 292.3)

  6. Step 500

    500 (this color)

    #816DC7

    oklch(59.4% 0.135 292)

  7. Step 600

    600

    #775FC1

    oklch(55.6% 0.148 292.2)

  8. Step 700

    700

    #644EA6

    oklch(49% 0.136 292.1)

  9. Step 800

    800

    #514187

    oklch(42.8% 0.113 291.4)

  10. Step 900

    900

    #43376C

    oklch(37.6% 0.089 292)

  11. Step 950

    950

    #27213F

    oklch(27% 0.055 291.5)

Export this scale for Tailwind in the Tailwind colors tool

#816DC7 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)#4F7CCA0.072
Deuteranopia (no green cones)#5179C50.068
Tritanopia (no blue cones)#707E900.111
Achromatopsia (no color)#7B7B7B0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #816DC7

    #816DC7

    oklch(59.4% 0.135 292)

  • #818500

    #818500

    oklch(59.3% 0.131 111.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #816DC7

    #816DC7

    oklch(59.4% 0.135 292)

  • #517CCE

    #517CCE

    oklch(59.4% 0.135 262.2)

  • #A360AD

    #A360AD

    oklch(59.3% 0.135 322.2)

Open the analogous palette in the generator

Split complementary

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

  • #816DC7

    #816DC7

    oklch(59.4% 0.135 292)

  • #A27600

    #A27600

    oklch(59.4% 0.122 82.4)

  • #4A9243

    #4A9243

    oklch(59.4% 0.135 142)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #816DC7

    #816DC7

    oklch(59.4% 0.135 292)

  • #BB6324

    #BB6324

    oklch(59.3% 0.135 51.8)

  • #009476

    #009476

    oklch(59.4% 0.115 171.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #816DC7

    #816DC7

    oklch(59.4% 0.135 292)

  • #C15959

    #C15959

    oklch(59.3% 0.134 22)

  • #818500

    #818500

    oklch(59.3% 0.131 111.9)

  • #009098

    #009098

    oklch(59.5% 0.101 201.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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