#816BEA#816BEA

#816BEA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.2% C 0.184 H 287.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#816BEA
RGBrgb(129, 107, 234)
HSLhsl(250, 75%, 67%)
HSVhsv(250, 54%, 92%)
CMYKcmyk(44.9%, 54.3%, 0%, 8.2%)
CIE-LABlab(53.08, 39.45, -61.64)
CIE-LCHlch(53.08, 73.18, 302.62°)
OKLaboklab(61.18% 0.0558 -0.1756)
OKLCHoklch(61.18% 0.184 287.6)
XYZxyz(29.1580, 21.1219, 80.3665)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BEA #D4EA6B
analogous
#6B95EA #816BEA #C16BEA
triadic
#816BEA #EA816B #6BEA81
tetradic
#816BEA #EA6B95 #D4EA6B #6BEAC1
square
#816BEA #EA6B95 #D4EA6B #6BEAC1
split-complementary
#816BEA #EAC16B #95EA6B
monochromatic
#381BBF #5335E2 #816BEA #AFA1F2 #DCD6F9

Accessibility & contrast

On white

4.02
#816BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#816BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BEA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BEA#FFFFFF#000000##000000
##816BEA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2682EE
Deuteranopia (green-blind)
#267BE7
Tritanopia (blue-blind)
#6087A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #816bea;
/* rgb */ color: rgb(129, 107, 234);
/* oklch */ color: oklch(61.2% 0.184 287.6);
Tailwind
colors: {
  custom: {
    50: '#ac96f1',
    500: '#816bea',
    950: '#000000',
  },
}
SCSS
$custom: #816bea;
$custom-light: #ac96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#816bea",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 250.394,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.18426,
    "h": 287.6
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#816BEA
secondary
#E6EDC4
accent
#D70EB4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #816BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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