#816BEC#816BEC

#816BEC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.3% C 0.187 H 287.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#816BEC
RGBrgb(129, 107, 236)
HSLhsl(250, 77%, 67%)
HSVhsv(250, 55%, 93%)
CMYKcmyk(45.3%, 54.7%, 0%, 7.5%)
CIE-LABlab(53.21, 40.02, -62.55)
CIE-LCHlch(53.21, 74.26, 302.61°)
OKLaboklab(61.31% 0.0559 -0.1783)
OKLCHoklch(61.31% 0.187 287.4)
XYZxyz(29.4469, 21.2374, 81.8883)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BEC #D6EC6B
analogous
#6B95EC #816BEC #C26BEC
triadic
#816BEC #EC816B #6BEC81
tetradic
#816BEC #EC6B95 #D6EC6B #6BECC2
square
#816BEC #EC6B95 #D6EC6B #6BECC2
split-complementary
#816BEC #ECC26B #95EC6B
monochromatic
#3619C4 #5335E5 #816BEC #AFA1F3 #DDD7FA

Accessibility & contrast

On white

4.00
#816BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#816BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BEC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BEC#FFFFFF#000000##000000
##816BEC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282F0
Deuteranopia (green-blind)
#227CE9
Tritanopia (blue-blind)
#5F87A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #816bec;
/* rgb */ color: rgb(129, 107, 236);
/* oklch */ color: oklch(61.3% 0.187 287.4);
Tailwind
colors: {
  custom: {
    50: '#ac96f3',
    500: '#816bec',
    950: '#000000',
  },
}
SCSS
$custom: #816bec;
$custom-light: #ac96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#816bec",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 250.233,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61308,
    "c": 0.18685,
    "h": 287.4
  },
  "luminance": 0.21239
}

Semantic roles & 50–950 ramp

primary
#816BEC
secondary
#E7EEC5
accent
#D90CB6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #816BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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