#816BEB#816BEB

#816BEB is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.2% C 0.186 H 287.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#816BEB
RGBrgb(129, 107, 235)
HSLhsl(250, 76%, 67%)
HSVhsv(250, 54%, 92%)
CMYKcmyk(45.1%, 54.5%, 0%, 7.8%)
CIE-LABlab(53.15, 39.73, -62.10)
CIE-LCHlch(53.15, 73.72, 302.61°)
OKLaboklab(61.24% 0.0558 -0.1769)
OKLCHoklch(61.24% 0.186 287.5)
XYZxyz(29.3020, 21.1795, 81.1253)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BEB #D5EB6B
analogous
#6B95EB #816BEB #C16BEB
triadic
#816BEB #EB816B #6BEB81
tetradic
#816BEB #EB6B95 #D5EB6B #6BEBC1
square
#816BEB #EB6B95 #D5EB6B #6BEBC1
split-complementary
#816BEB #EBC16B #95EB6B
monochromatic
#371AC1 #5335E4 #816BEB #AFA1F2 #DDD7FA

Accessibility & contrast

On white

4.01
#816BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#816BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BEB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BEB#FFFFFF#000000##000000
##816BEB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482EF
Deuteranopia (green-blind)
#247BE8
Tritanopia (blue-blind)
#6087A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #816beb;
/* rgb */ color: rgb(129, 107, 235);
/* oklch */ color: oklch(61.2% 0.186 287.5);
Tailwind
colors: {
  custom: {
    50: '#ac96f2',
    500: '#816beb',
    950: '#000000',
  },
}
SCSS
$custom: #816beb;
$custom-light: #ac96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#816beb",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 250.313,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61241,
    "c": 0.18555,
    "h": 287.5
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#816BEB
secondary
#E6EDC5
accent
#D80DB5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #816BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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