#816EEC#816EEC

#816EEC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.8% C 0.183 H 286.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#816EEC
RGBrgb(129, 110, 236)
HSLhsl(249, 77%, 68%)
HSVhsv(249, 53%, 93%)
CMYKcmyk(45.3%, 53.4%, 0%, 7.5%)
CIE-LABlab(53.89, 38.28, -61.45)
CIE-LCHlch(53.89, 72.40, 301.92°)
OKLaboklab(61.82% 0.0525 -0.175)
OKLCHoklch(61.82% 0.183 286.7)
XYZxyz(29.7651, 21.8739, 81.9944)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816EEC #D9EC6E
analogous
#6E9AEC #816EEC #C06EEC
triadic
#816EEC #EC816E #6EEC81
tetradic
#816EEC #EC6E9A #D9EC6E #6EECC0
square
#816EEC #EC6E9A #D9EC6E #6EECC0
split-complementary
#816EEC #ECC06E #9AEC6E
monochromatic
#341AC6 #5238E5 #816EEC #B0A4F3 #DFDAFA

Accessibility & contrast

On white

3.91
#816EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#816EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816EEC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816EEC#FFFFFF#000000##000000
##816EEC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#2A7DE9
Tritanopia (blue-blind)
#5F89A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816eec;
/* rgb */ color: rgb(129, 110, 236);
/* oklch */ color: oklch(61.8% 0.183 286.7);
Tailwind
colors: {
  custom: {
    50: '#ac98f3',
    500: '#816eec',
    950: '#000000',
  },
}
SCSS
$custom: #816eec;
$custom-light: #ac98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#816eec",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 249.048,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61816,
    "c": 0.18274,
    "h": 286.7
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #816EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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