#816DED#816DED

#816DED is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.7% C 0.185 H 286.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#816DED
RGBrgb(129, 109, 237)
HSLhsl(249, 78%, 68%)
HSVhsv(249, 54%, 93%)
CMYKcmyk(45.6%, 54%, 0%, 7.1%)
CIE-LABlab(53.73, 39.14, -62.28)
CIE-LCHlch(53.73, 73.56, 302.15°)
OKLaboklab(61.71% 0.0536 -0.1775)
OKLCHoklch(61.71% 0.185 286.8)
XYZxyz(29.8035, 21.7176, 82.7259)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DED #D9ED6D
analogous
#6D99ED #816DED #C16DED
triadic
#816DED #ED816D #6DED81
tetradic
#816DED #ED6D99 #D9ED6D #6DEDC1
square
#816DED #ED6D99 #D9ED6D #6DEDC1
split-complementary
#816DED #EDC16D #99ED6D
monochromatic
#3419C7 #5237E6 #816DED #B0A3F4 #DFDAFA

Accessibility & contrast

On white

3.93
#816DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#816DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DED
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DED#FFFFFF#000000##000000
##816DED1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F1
Deuteranopia (green-blind)
#267DEA
Tritanopia (blue-blind)
#5E89A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #816ded;
/* rgb */ color: rgb(129, 109, 237);
/* oklch */ color: oklch(61.7% 0.185 286.8);
Tailwind
colors: {
  custom: {
    50: '#ac97f4',
    500: '#816ded',
    950: '#000000',
  },
}
SCSS
$custom: #816ded;
$custom-light: #ac97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#816ded",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 249.375,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.18541,
    "h": 286.8
  },
  "luminance": 0.21719
}

Semantic roles & 50–950 ramp

primary
#816DED
secondary
#E8EFC7
accent
#DA0BBA
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #816DED

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#816DED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva