#816CF3#816CF3

#816CF3 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.9% C 0.194 H 286.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#816CF3
RGBrgb(129, 108, 243)
HSLhsl(249, 85%, 69%)
HSVhsv(249, 56%, 95%)
CMYKcmyk(46.9%, 55.6%, 0%, 4.7%)
CIE-LABlab(53.88, 41.44, -65.38)
CIE-LCHlch(53.88, 77.40, 302.37°)
OKLaboklab(61.95% 0.0549 -0.1866)
OKLCHoklch(61.95% 0.194 286.4)
XYZxyz(30.5888, 21.8620, 87.3847)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CF3 #DEF36C
analogous
#6C9BF3 #816CF3 #C56CF3
triadic
#816CF3 #F3816C #6CF381
tetradic
#816CF3 #F36C9B #DEF36C #6CF3C5
square
#816CF3 #F36C9B #DEF36C #6CF3C5
split-complementary
#816CF3 #F3C56C #9BF36C
monochromatic
#2F11D3 #5133EE #816CF3 #B1A5F8 #E2DDFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816CF3#FFFFFF#000000##000000
##816CF31.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)
#1584F8
Deuteranopia (green-blind)
#107DF0
Tritanopia (blue-blind)
#5B8AA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816cf3;
/* rgb */ color: rgb(129, 108, 243);
/* oklch */ color: oklch(61.9% 0.194 286.4);
Tailwind
colors: {
  custom: {
    50: '#ad97f8',
    500: '#816cf3',
    950: '#000000',
  },
}
SCSS
$custom: #816cf3;
$custom-light: #ad97f8;
$custom-dark: #000000;
JSON
{
  "hex": "#816cf3",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 249.333,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61948,
    "c": 0.19449,
    "h": 286.4
  },
  "luminance": 0.21863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #816CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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