#816DEF#816DEF

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

Color values

HEX#816DEF
RGBrgb(129, 109, 239)
HSLhsl(249, 80%, 68%)
HSVhsv(249, 54%, 94%)
CMYKcmyk(46%, 54.4%, 0%, 6.3%)
CIE-LABlab(53.85, 39.72, -63.19)
CIE-LCHlch(53.85, 74.64, 302.15°)
OKLaboklab(61.85% 0.0537 -0.1802)
OKLCHoklch(61.85% 0.188 286.6)
XYZxyz(30.0974, 21.8351, 84.2734)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DEF #DBEF6D
analogous
#6D9AEF #816DEF #C26DEF
triadic
#816DEF #EF816D #6DEF81
tetradic
#816DEF #EF6D9A #DBEF6D #6DEFC2
square
#816DEF #EF6D9A #DBEF6D #6DEFC2
split-complementary
#816DEF #EFC26D #9AEF6D
monochromatic
#3216CB #5136E9 #816DEF #B1A4F5 #E0DBFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816DEF#FFFFFF#000000##000000
##816DEF1.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)
#2484F3
Deuteranopia (green-blind)
#217DEC
Tritanopia (blue-blind)
#5D8AA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816def;
/* rgb */ color: rgb(129, 109, 239);
/* oklch */ color: oklch(61.8% 0.188 286.6);
Tailwind
colors: {
  custom: {
    50: '#ac97f5',
    500: '#816def',
    950: '#000000',
  },
}
SCSS
$custom: #816def;
$custom-light: #ac97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#816def",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 249.231,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61846,
    "c": 0.188,
    "h": 286.6
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#816DEF
secondary
#EAF0C8
accent
#DD09BC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #816DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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