#816BF6#816BF6

#816BF6 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 62.0% C 0.200 H 286.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#816BF6
RGBrgb(129, 107, 246)
HSLhsl(249, 89%, 69%)
HSVhsv(249, 57%, 96%)
CMYKcmyk(47.6%, 56.5%, 0%, 3.5%)
CIE-LABlab(53.85, 42.87, -67.09)
CIE-LCHlch(53.85, 79.62, 302.58°)
OKLaboklab(61.99% 0.0559 -0.1916)
OKLCHoklch(61.99% 0.2 286.3)
XYZxyz(30.9406, 21.8349, 89.7552)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BF6 #E0F66B
analogous
#6B9BF6 #816BF6 #C66BF6
triadic
#816BF6 #F6816B #6BF681
tetradic
#816BF6 #F66B9B #E0F66B #6BF6C6
square
#816BF6 #F66B9B #E0F66B #6BF6C6
split-complementary
#816BF6 #F6C66B #9BF66B
monochromatic
#2E0DD9 #5031F2 #816BF6 #B2A5FA #E3DEFD

Accessibility & contrast

On white

3.91
#816BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#816BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BF6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BF6#FFFFFF#000000##000000
##816BF61.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#598AA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816bf6;
/* rgb */ color: rgb(129, 107, 246);
/* oklch */ color: oklch(62.0% 0.200 286.3);
Tailwind
colors: {
  custom: {
    50: '#ad96fa',
    500: '#816bf6',
    950: '#000000',
  },
}
SCSS
$custom: #816bf6;
$custom-light: #ad96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#816bf6",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 249.496,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61989,
    "c": 0.19965,
    "h": 286.3
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#816BF6
secondary
#ECF3CA
accent
#E500C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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