#816CCB#816CCB

#816CCB is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.4% C 0.142 H 291.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#816CCB
RGBrgb(129, 108, 203)
HSLhsl(253, 48%, 61%)
HSVhsv(253, 47%, 80%)
CMYKcmyk(36.5%, 46.8%, 0%, 20.4%)
CIE-LABlab(51.50, 30.23, -46.64)
CIE-LCHlch(51.50, 55.58, 302.95°)
OKLaboklab(59.41% 0.0523 -0.1316)
OKLCHoklch(59.41% 0.142 291.7)
XYZxyz(25.1925, 19.7034, 58.9642)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CCB #B6CB6C
analogous
#6C86CB #816CCB #B06CCB
triadic
#816CCB #CB816C #6CCB81
tetradic
#816CCB #CB6C86 #B6CB6C #6CCBB0
square
#816CCB #CB6C86 #B6CB6C #6CCBB0
split-complementary
#816CCB #CBB06C #86CB6C
monochromatic
#45318B #5C41B9 #816CCB #A899DB #CEC6EB

Accessibility & contrast

On white

4.25
#816CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#816CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CCB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CCB#FFFFFF#000000##000000
##816CCB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#6E7F92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #816ccb;
/* rgb */ color: rgb(129, 108, 203);
/* oklch */ color: oklch(59.4% 0.142 291.7);
Tailwind
colors: {
  custom: {
    50: '#a996db',
    500: '#816ccb',
    950: '#000000',
  },
}
SCSS
$custom: #816ccb;
$custom-light: #a996db;
$custom-dark: #000000;
JSON
{
  "hex": "#816ccb",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 253.263,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.14161,
    "h": 291.7
  },
  "luminance": 0.19704
}

Semantic roles & 50–950 ramp

primary
#816CCB
secondary
#D3DBB7
accent
#BB2A9B
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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