#816FF5#816FF5

#816FF5 is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.6% C 0.193 H 285.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#816FF5
RGBrgb(129, 111, 245)
HSLhsl(248, 87%, 70%)
HSVhsv(248, 55%, 96%)
CMYKcmyk(47.3%, 54.7%, 0%, 3.9%)
CIE-LABlab(54.69, 40.28, -65.19)
CIE-LCHlch(54.69, 76.63, 301.71°)
OKLaboklab(62.59% 0.0516 -0.186)
OKLCHoklch(62.59% 0.193 285.5)
XYZxyz(31.2143, 22.6271, 89.0913)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FF5 #E3F56F
analogous
#6FA0F5 #816FF5 #C46FF5
triadic
#816FF5 #F5816F #6FF581
tetradic
#816FF5 #F56FA0 #E3F56F #6FF5C4
square
#816FF5 #F56FA0 #E3F56F #6FF5C4
split-complementary
#816FF5 #F5C46F #A0F56F
monochromatic
#2A0FDA #4F36F1 #816FF5 #B3A8F9 #E5E1FD

Accessibility & contrast

On white

3.80
#816FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#816FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FF5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FF5#FFFFFF#000000##000000
##816FF51.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FA
Deuteranopia (green-blind)
#187FF2
Tritanopia (blue-blind)
#598DA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #816ff5;
/* rgb */ color: rgb(129, 111, 245);
/* oklch */ color: oklch(62.6% 0.193 285.5);
Tailwind
colors: {
  custom: {
    50: '#ad99f9',
    500: '#816ff5',
    950: '#000000',
  },
}
SCSS
$custom: #816ff5;
$custom-light: #ad99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#816ff5",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 248.06,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.19305,
    "h": 285.5
  },
  "luminance": 0.22629
}

Semantic roles & 50–950 ramp

primary
#816FF5
secondary
#EEF3CD
accent
#E402C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #816FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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