#816FDB

Closest named color: Medium Purple (#9370DB). oklch(60.9% 0.159 288.4), rgb(129, 111, 219).

Aa

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

About this color

#816FDB is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.159 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.029 away. Black text reads best on it, at 5.23:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.159)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.23:1
White text4.01:1

Values

HEX#816FDB
RGBrgb(129, 111, 219)
HSLhsl(250, 60%, 65%)
OKLCHoklch(60.9% 0.159 288.4)

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 #816FDB 4.01:1 AA large text Lc -72.7 Content text, not long reading
Black text on #816FDB 5.23:1 AA Lc 36.8 Non-text elements, placeholder text
#816FDB text on white 4.01:1 AA large text Lc 67.2 Content text, not long reading
#816FDB text on black 5.23:1 AA Lc -34.4 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

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D7D5F5

    oklch(88.5% 0.044 288.3)

  4. Step 300

    300

    #BEB9F1

    oklch(80.9% 0.079 288.6)

  5. Step 400

    400

    #9E93E9

    oklch(70.7% 0.124 288.7)

  6. Step 500

    500 (this color)

    #816FDB

    oklch(60.9% 0.159 288.4)

  7. Step 600

    600

    #725CD0

    oklch(55.6% 0.172 288.2)

  8. Step 700

    700

    #604BB4

    oklch(49.1% 0.16 288.3)

  9. Step 800

    800

    #4E3E92

    oklch(42.7% 0.133 288.2)

  10. Step 900

    900

    #413674

    oklch(37.8% 0.102 288.7)

  11. Step 950

    950

    #262044

    oklch(27% 0.065 288.9)

Export this scale for Tailwind in the Tailwind colors tool

#816FDB 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)#4381DF0.081
Deuteranopia (no green cones)#437CD90.079
Tritanopia (no blue cones)#67859B0.132
Achromatopsia (no color)#7F7F7F0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #816FDB

    #816FDB

    oklch(60.9% 0.159 288.4)

  • #8B8800

    #8B8800

    oklch(60.9% 0.132 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #816FDB

    #816FDB

    oklch(60.9% 0.159 288.4)

  • #4181E0

    #4181E0

    oklch(60.9% 0.159 258.3)

  • #AA5FBF

    #AA5FBF

    oklch(60.9% 0.159 318.5)

Open the analogous palette in the generator

Split complementary

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

  • #816FDB

    #816FDB

    oklch(60.9% 0.159 288.4)

  • #AC7800

    #AC7800

    oklch(61% 0.127 78.4)

  • #4C982F

    #4C982F

    oklch(60.9% 0.159 138.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #816FDB

    #816FDB

    oklch(60.9% 0.159 288.4)

  • #CC5F11

    #CC5F11

    oklch(61% 0.159 48.5)

  • #009A75

    #009A75

    oklch(61% 0.123 168.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #816FDB

    #816FDB

    oklch(60.9% 0.159 288.4)

  • #D1535D

    #D1535D

    oklch(61% 0.159 18.4)

  • #8B8800

    #8B8800

    oklch(60.9% 0.132 108.2)

  • #00959A

    #00959A

    oklch(60.8% 0.103 199)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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