#816CF2#816CF2

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

Color values

HEX#816CF2
RGBrgb(129, 108, 242)
HSLhsl(249, 84%, 69%)
HSVhsv(249, 55%, 95%)
CMYKcmyk(46.7%, 55.4%, 0%, 5.1%)
CIE-LABlab(53.82, 41.15, -64.92)
CIE-LCHlch(53.82, 76.87, 302.37°)
OKLaboklab(61.88% 0.0548 -0.1853)
OKLCHoklch(61.88% 0.193 286.5)
XYZxyz(30.4382, 21.8017, 86.5915)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CF2 #DDF26C
analogous
#6C9AF2 #816CF2 #C46CF2
triadic
#816CF2 #F2816C #6CF281
tetradic
#816CF2 #F26C9A #DDF26C #6CF2C4
square
#816CF2 #F26C9A #DDF26C #6CF2C4
split-complementary
#816CF2 #F2C46C #9AF26C
monochromatic
#3012D1 #5134ED #816CF2 #B1A4F7 #E1DCFC

Accessibility & contrast

On white

3.92
#816CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#816CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CF2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CF2#FFFFFF#000000##000000
##816CF21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1884F7
Deuteranopia (green-blind)
#157DEF
Tritanopia (blue-blind)
#5B8AA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816cf2;
/* rgb */ color: rgb(129, 108, 242);
/* oklch */ color: oklch(61.9% 0.193 286.5);
Tailwind
colors: {
  custom: {
    50: '#ad97f7',
    500: '#816cf2',
    950: '#000000',
  },
}
SCSS
$custom: #816cf2;
$custom-light: #ad97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#816cf2",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 249.403,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.19322,
    "h": 286.5
  },
  "luminance": 0.21803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #816CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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