#816DEE#816DEE

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

Color values

HEX#816DEE
RGBrgb(129, 109, 238)
HSLhsl(249, 79%, 68%)
HSVhsv(249, 54%, 93%)
CMYKcmyk(45.8%, 54.2%, 0%, 6.7%)
CIE-LABlab(53.79, 39.43, -62.74)
CIE-LCHlch(53.79, 74.10, 302.15°)
OKLaboklab(61.78% 0.0537 -0.1788)
OKLCHoklch(61.78% 0.187 286.7)
XYZxyz(29.9500, 21.7762, 83.4975)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DEE #DAEE6D
analogous
#6D9AEE #816DEE #C16DEE
triadic
#816DEE #EE816D #6DEE81
tetradic
#816DEE #EE6D9A #DAEE6D #6DEEC1
square
#816DEE #EE6D9A #DAEE6D #6DEEC1
split-complementary
#816DEE #EEC16D #9AEE6D
monochromatic
#3317C9 #5236E8 #816DEE #B0A4F4 #E0DBFB

Accessibility & contrast

On white

3.92
#816DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#816DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DEE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DEE#FFFFFF#000000##000000
##816DEE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F2
Deuteranopia (green-blind)
#247DEB
Tritanopia (blue-blind)
#5E89A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816dee;
/* rgb */ color: rgb(129, 109, 238);
/* oklch */ color: oklch(61.8% 0.187 286.7);
Tailwind
colors: {
  custom: {
    50: '#ac97f4',
    500: '#816dee',
    950: '#000000',
  },
}
SCSS
$custom: #816dee;
$custom-light: #ac97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#816dee",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 249.302,
    "s": 79.141,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.1867,
    "h": 286.7
  },
  "luminance": 0.21777
}

Semantic roles & 50–950 ramp

primary
#816DEE
secondary
#E9EFC8
accent
#DB0ABB
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #816DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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