#816CF5#816CF5

#816CF5 is a light, vivid blue. Relative luminance 0.220; OKLCH L 62.1% C 0.197 H 286.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#816CF5
RGBrgb(129, 108, 245)
HSLhsl(249, 87%, 69%)
HSVhsv(249, 56%, 96%)
CMYKcmyk(47.3%, 55.9%, 0%, 3.9%)
CIE-LABlab(54.01, 42.01, -66.28)
CIE-LCHlch(54.01, 78.47, 302.37°)
OKLaboklab(62.09% 0.0549 -0.1893)
OKLCHoklch(62.09% 0.197 286.2)
XYZxyz(30.8924, 21.9834, 88.9840)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CF5 #E0F56C
analogous
#6C9CF5 #816CF5 #C66CF5
triadic
#816CF5 #F5816C #6CF581
tetradic
#816CF5 #F56C9C #E0F56C #6CF5C6
square
#816CF5 #F56C9C #E0F56C #6CF5C6
split-complementary
#816CF5 #F5C66C #9CF56C
monochromatic
#2E0FD8 #5033F1 #816CF5 #B2A5F9 #E3DFFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816CF5#FFFFFF#000000##000000
##816CF51.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)
#0E85FA
Deuteranopia (green-blind)
#057DF2
Tritanopia (blue-blind)
#598BA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816cf5;
/* rgb */ color: rgb(129, 108, 245);
/* oklch */ color: oklch(62.1% 0.197 286.2);
Tailwind
colors: {
  custom: {
    50: '#ad97f9',
    500: '#816cf5',
    950: '#000000',
  },
}
SCSS
$custom: #816cf5;
$custom-light: #ad97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#816cf5",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 249.197,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62085,
    "c": 0.19705,
    "h": 286.2
  },
  "luminance": 0.21985
}

Semantic roles & 50–950 ramp

primary
#816CF5
secondary
#ECF2CA
accent
#E402C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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