#816BE2#816BE2

#816BE2 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.7% C 0.174 H 288.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#816BE2
RGBrgb(129, 107, 226)
HSLhsl(251, 67%, 65%)
HSVhsv(251, 53%, 89%)
CMYKcmyk(42.9%, 52.7%, 0%, 11.4%)
CIE-LABlab(52.59, 37.19, -57.94)
CIE-LCHlch(52.59, 68.85, 302.69°)
OKLaboklab(60.65% 0.0555 -0.1647)
OKLCHoklch(60.65% 0.174 288.6)
XYZxyz(28.0346, 20.6725, 74.4498)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BE2 #CCE26B
analogous
#6B91E2 #816BE2 #BC6BE2
triadic
#816BE2 #E2816B #6BE281
tetradic
#816BE2 #E26B91 #CCE26B #6BE2BC
square
#816BE2 #E26B91 #CCE26B #6BE2BC
split-complementary
#816BE2 #E2BC6B #91E26B
monochromatic
#3D23B0 #5538D8 #816BE2 #AD9EEC #D8D1F6

Accessibility & contrast

On white

4.09
#816BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#816BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BE2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BE2#FFFFFF#000000##000000
##816BE21.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E6
Deuteranopia (green-blind)
#347BDF
Tritanopia (blue-blind)
#64849C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #816be2;
/* rgb */ color: rgb(129, 107, 226);
/* oklch */ color: oklch(60.7% 0.174 288.6);
Tailwind
colors: {
  custom: {
    50: '#ab96ec',
    500: '#816be2',
    950: '#000000',
  },
}
SCSS
$custom: #816be2;
$custom-light: #ab96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#816be2",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 251.092,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6065,
    "c": 0.17383,
    "h": 288.6
  },
  "luminance": 0.20674
}

Semantic roles & 50–950 ramp

primary
#816BE2
secondary
#E1E8C0
accent
#CF16AD
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #816BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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