#816BEF#816BEF

#816BEF is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.5% C 0.191 H 287.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#816BEF
RGBrgb(129, 107, 239)
HSLhsl(250, 80%, 68%)
HSVhsv(250, 55%, 94%)
CMYKcmyk(46%, 55.2%, 0%, 6.3%)
CIE-LABlab(53.40, 40.87, -63.92)
CIE-LCHlch(53.40, 75.87, 302.59°)
OKLaboklab(61.51% 0.0559 -0.1823)
OKLCHoklch(61.51% 0.191 287)
XYZxyz(29.8864, 21.4133, 84.2031)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BEF #D9EF6B
analogous
#6B97EF #816BEF #C36BEF
triadic
#816BEF #EF816B #6BEF81
tetradic
#816BEF #EF6B97 #D9EF6B #6BEFC3
square
#816BEF #EF6B97 #D9EF6B #6BEFC3
split-complementary
#816BEF #EFC36B #97EF6B
monochromatic
#3416CA #5234E9 #816BEF #B0A2F5 #DFD9FB

Accessibility & contrast

On white

3.98
#816BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#816BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BEF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BEF#FFFFFF#000000##000000
##816BEF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F3
Deuteranopia (green-blind)
#1A7CEC
Tritanopia (blue-blind)
#5D88A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #816bef;
/* rgb */ color: rgb(129, 107, 239);
/* oklch */ color: oklch(61.5% 0.191 287.0);
Tailwind
colors: {
  custom: {
    50: '#ac96f5',
    500: '#816bef',
    950: '#000000',
  },
}
SCSS
$custom: #816bef;
$custom-light: #ac96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#816bef",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 250,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6151,
    "c": 0.19071,
    "h": 287
  },
  "luminance": 0.21415
}

Semantic roles & 50–950 ramp

primary
#816BEF
secondary
#E8EFC7
accent
#DD09B9
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #816BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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