#816DF5#816DF5

#816DF5 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.3% C 0.196 H 285.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#816DF5
RGBrgb(129, 109, 245)
HSLhsl(249, 87%, 69%)
HSVhsv(249, 56%, 96%)
CMYKcmyk(47.3%, 55.5%, 0%, 3.9%)
CIE-LABlab(54.23, 41.44, -65.92)
CIE-LCHlch(54.23, 77.86, 302.15°)
OKLaboklab(62.25% 0.0538 -0.1882)
OKLCHoklch(62.25% 0.196 285.9)
XYZxyz(30.9985, 22.1956, 89.0193)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DF5 #E1F56D
analogous
#6D9DF5 #816DF5 #C56DF5
triadic
#816DF5 #F5816D #6DF581
tetradic
#816DF5 #F56D9D #E1F56D #6DF5C5
square
#816DF5 #F56D9D #E1F56D #6DF5C5
split-complementary
#816DF5 #F5C56D #9DF56D
monochromatic
#2D0FD9 #5034F1 #816DF5 #B2A6F9 #E4E0FD

Accessibility & contrast

On white

3.86
#816DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#816DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DF5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DF5#FFFFFF#000000##000000
##816DF51.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1585FA
Deuteranopia (green-blind)
#0D7EF2
Tritanopia (blue-blind)
#598BA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #816df5;
/* rgb */ color: rgb(129, 109, 245);
/* oklch */ color: oklch(62.3% 0.196 285.9);
Tailwind
colors: {
  custom: {
    50: '#ad97f9',
    500: '#816df5',
    950: '#000000',
  },
}
SCSS
$custom: #816df5;
$custom-light: #ad97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#816df5",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 248.824,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62251,
    "c": 0.19572,
    "h": 285.9
  },
  "luminance": 0.22197
}

Semantic roles & 50–950 ramp

primary
#816DF5
secondary
#EDF2CB
accent
#E402C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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