#816BF3#816BF3

#816BF3 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.8% C 0.196 H 286.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#816BF3
RGBrgb(129, 107, 243)
HSLhsl(250, 85%, 69%)
HSVhsv(250, 56%, 95%)
CMYKcmyk(46.9%, 56%, 0%, 4.7%)
CIE-LABlab(53.66, 42.01, -65.74)
CIE-LCHlch(53.66, 78.02, 302.58°)
OKLaboklab(61.78% 0.0559 -0.1877)
OKLCHoklch(61.78% 0.196 286.6)
XYZxyz(30.4839, 21.6522, 87.3497)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BF3 #DDF36B
analogous
#6B99F3 #816BF3 #C56BF3
triadic
#816BF3 #F3816B #6BF381
tetradic
#816BF3 #F36B99 #DDF36B #6BF3C5
square
#816BF3 #F36B99 #DDF36B #6BF3C5
split-complementary
#816BF3 #F3C56B #99F36B
monochromatic
#3011D3 #5132EE #816BF3 #B1A4F8 #E1DCFC

Accessibility & contrast

On white

3.94
#816BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#816BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BF3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BF3#FFFFFF#000000##000000
##816BF31.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E84F8
Deuteranopia (green-blind)
#097CF0
Tritanopia (blue-blind)
#5B89A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #816bf3;
/* rgb */ color: rgb(129, 107, 243);
/* oklch */ color: oklch(61.8% 0.196 286.6);
Tailwind
colors: {
  custom: {
    50: '#ad96f8',
    500: '#816bf3',
    950: '#000000',
  },
}
SCSS
$custom: #816bf3;
$custom-light: #ad96f8;
$custom-dark: #000000;
JSON
{
  "hex": "#816bf3",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 249.706,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61782,
    "c": 0.19583,
    "h": 286.6
  },
  "luminance": 0.21654
}

Semantic roles & 50–950 ramp

primary
#816BF3
secondary
#EBF1C9
accent
#E104BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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