#816BF4#816BF4

#816BF4 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.9% C 0.197 H 286.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#816BF4
RGBrgb(129, 107, 244)
HSLhsl(250, 86%, 69%)
HSVhsv(250, 56%, 96%)
CMYKcmyk(47.1%, 56.1%, 0%, 4.3%)
CIE-LABlab(53.72, 42.30, -66.19)
CIE-LCHlch(53.72, 78.55, 302.58°)
OKLaboklab(61.85% 0.056 -0.189)
OKLCHoklch(61.85% 0.197 286.5)
XYZxyz(30.6353, 21.7128, 88.1472)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BF4 #DEF46B
analogous
#6B9AF4 #816BF4 #C66BF4
triadic
#816BF4 #F4816B #6BF481
tetradic
#816BF4 #F46B9A #DEF46B #6BF4C6
square
#816BF4 #F46B9A #DEF46B #6BF4C6
split-complementary
#816BF4 #F4C66B #9AF46B
monochromatic
#2F10D5 #5132F0 #816BF4 #B1A4F8 #E2DDFC

Accessibility & contrast

On white

3.93
#816BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#816BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BF4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BF4#FFFFFF#000000##000000
##816BF41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0984F9
Deuteranopia (green-blind)
#037CF1
Tritanopia (blue-blind)
#5A8AA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #816bf4;
/* rgb */ color: rgb(129, 107, 244);
/* oklch */ color: oklch(61.9% 0.197 286.5);
Tailwind
colors: {
  custom: {
    50: '#ad96f9',
    500: '#816bf4',
    950: '#000000',
  },
}
SCSS
$custom: #816bf4;
$custom-light: #ad96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#816bf4",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 249.635,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.19711,
    "h": 286.5
  },
  "luminance": 0.21714
}

Semantic roles & 50–950 ramp

primary
#816BF4
secondary
#EBF2C9
accent
#E303BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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