#816FF4#816FF4

#816FF4 is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.5% C 0.192 H 285.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#816FF4
RGBrgb(129, 111, 244)
HSLhsl(248, 86%, 70%)
HSVhsv(248, 55%, 96%)
CMYKcmyk(47.1%, 54.5%, 0%, 4.3%)
CIE-LABlab(54.62, 39.99, -64.74)
CIE-LCHlch(54.62, 76.10, 301.71°)
OKLaboklab(62.52% 0.0516 -0.1847)
OKLCHoklch(62.52% 0.192 285.6)
XYZxyz(31.0620, 22.5662, 88.2894)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FF4 #E2F46F
analogous
#6FA0F4 #816FF4 #C36FF4
triadic
#816FF4 #F4816F #6FF481
tetradic
#816FF4 #F46FA0 #E2F46F #6FF4C3
square
#816FF4 #F46FA0 #E2F46F #6FF4C3
split-complementary
#816FF4 #F4C36F #A0F46F
monochromatic
#2C11D8 #4F36F0 #816FF4 #B3A8F8 #E4E1FD

Accessibility & contrast

On white

3.81
#816FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#816FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FF4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FF4#FFFFFF#000000##000000
##816FF41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2186F9
Deuteranopia (green-blind)
#1B7FF1
Tritanopia (blue-blind)
#5A8CA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #816ff4;
/* rgb */ color: rgb(129, 111, 244);
/* oklch */ color: oklch(62.5% 0.192 285.6);
Tailwind
colors: {
  custom: {
    50: '#ad99f8',
    500: '#816ff4',
    950: '#000000',
  },
}
SCSS
$custom: #816ff4;
$custom-light: #ad99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#816ff4",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 248.12,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62519,
    "c": 0.19177,
    "h": 285.6
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#816FF4
secondary
#EDF2CC
accent
#E203C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #816FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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