#816EEE#816EEE

#816EEE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.185 H 286.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#816EEE
RGBrgb(129, 110, 238)
HSLhsl(249, 79%, 68%)
HSVhsv(249, 54%, 93%)
CMYKcmyk(45.8%, 53.8%, 0%, 6.7%)
CIE-LABlab(54.02, 38.85, -62.37)
CIE-LCHlch(54.02, 73.48, 301.92°)
OKLaboklab(61.95% 0.0525 -0.1777)
OKLCHoklch(61.95% 0.185 286.5)
XYZxyz(30.0573, 21.9908, 83.5332)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816EEE #DBEE6E
analogous
#6E9BEE #816EEE #C16EEE
triadic
#816EEE #EE816E #6EEE81
tetradic
#816EEE #EE6E9B #DBEE6E #6EEEC1
square
#816EEE #EE6E9B #DBEE6E #6EEEC1
split-complementary
#816EEE #EEC16E #9BEE6E
monochromatic
#3218CA #5137E8 #816EEE #B1A5F4 #E0DCFB

Accessibility & contrast

On white

3.89
#816EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#816EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816EEE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816EEE#FFFFFF#000000##000000
##816EEE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2984F2
Deuteranopia (green-blind)
#277EEB
Tritanopia (blue-blind)
#5E8AA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816eee;
/* rgb */ color: rgb(129, 110, 238);
/* oklch */ color: oklch(61.9% 0.185 286.5);
Tailwind
colors: {
  custom: {
    50: '#ac98f4',
    500: '#816eee',
    950: '#000000',
  },
}
SCSS
$custom: #816eee;
$custom-light: #ac98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#816eee",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 248.906,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61949,
    "c": 0.18535,
    "h": 286.5
  },
  "luminance": 0.21992
}

Semantic roles & 50–950 ramp

primary
#816EEE
secondary
#EAEFC8
accent
#DB0ABC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #816EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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