#816BCC#816BCC

#816BCC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.3% C 0.144 H 291.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#816BCC
RGBrgb(129, 107, 204)
HSLhsl(254, 49%, 61%)
HSVhsv(254, 48%, 80%)
CMYKcmyk(36.8%, 47.5%, 0%, 20%)
CIE-LABlab(51.31, 31.09, -47.51)
CIE-LCHlch(51.31, 56.78, 303.20°)
OKLaboklab(59.29% 0.0537 -0.1341)
OKLCHoklch(59.29% 0.144 291.8)
XYZxyz(25.2072, 19.5415, 59.5588)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BCC #B6CC6B
analogous
#6B85CC #816BCC #B16BCC
triadic
#816BCC #CC816B #6BCC81
tetradic
#816BCC #CC6B85 #B6CC6B #6BCCB1
square
#816BCC #CC6B85 #B6CC6B #6BCCB1
split-complementary
#816BCC #CCB16B #85CC6B
monochromatic
#45308C #5C40BA #816BCC #A899DC #CEC6EB

Accessibility & contrast

On white

4.28
#816BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#816BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BCC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BCC#FFFFFF#000000##000000
##816BCC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CCF
Deuteranopia (green-blind)
#4B78CA
Tritanopia (blue-blind)
#6E7E92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #816bcc;
/* rgb */ color: rgb(129, 107, 204);
/* oklch */ color: oklch(59.3% 0.144 291.8);
Tailwind
colors: {
  custom: {
    50: '#a995dc',
    500: '#816bcc',
    950: '#000000',
  },
}
SCSS
$custom: #816bcc;
$custom-light: #a995dc;
$custom-dark: #000000;
JSON
{
  "hex": "#816bcc",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 204
  },
  "hsl": {
    "h": 253.608,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.14449,
    "h": 291.8
  },
  "luminance": 0.19542
}

Semantic roles & 50–950 ramp

primary
#816BCC
secondary
#D3DCB7
accent
#BC299B
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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