#816DEC#816DEC

#816DEC is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.6% C 0.184 H 286.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#816DEC
RGBrgb(129, 109, 236)
HSLhsl(249, 77%, 68%)
HSVhsv(249, 54%, 93%)
CMYKcmyk(45.3%, 53.8%, 0%, 7.5%)
CIE-LABlab(53.66, 38.86, -61.82)
CIE-LCHlch(53.66, 73.02, 302.15°)
OKLaboklab(61.65% 0.0536 -0.1761)
OKLCHoklch(61.65% 0.184 286.9)
XYZxyz(29.6579, 21.6593, 81.9586)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DEC #D8EC6D
analogous
#6D98EC #816DEC #C16DEC
triadic
#816DEC #EC816D #6DEC81
tetradic
#816DEC #EC6D98 #D8EC6D #6DECC1
square
#816DEC #EC6D98 #D8EC6D #6DECC1
split-complementary
#816DEC #ECC16D #98EC6D
monochromatic
#351AC5 #5237E5 #816DEC #B0A3F3 #DED9FA

Accessibility & contrast

On white

3.94
#816DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#816DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DEC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DEC#FFFFFF#000000##000000
##816DEC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#287DE9
Tritanopia (blue-blind)
#5F89A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #816dec;
/* rgb */ color: rgb(129, 109, 236);
/* oklch */ color: oklch(61.6% 0.184 286.9);
Tailwind
colors: {
  custom: {
    50: '#ac97f3',
    500: '#816dec',
    950: '#000000',
  },
}
SCSS
$custom: #816dec;
$custom-light: #ac97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#816dec",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 249.449,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.18411,
    "h": 286.9
  },
  "luminance": 0.21661
}

Semantic roles & 50–950 ramp

primary
#816DEC
secondary
#E8EEC7
accent
#D90CB9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #816DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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