#816ACC#816ACC

#816ACC is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.1% C 0.146 H 292.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#816ACC
RGBrgb(129, 106, 204)
HSLhsl(254, 49%, 61%)
HSVhsv(254, 48%, 80%)
CMYKcmyk(36.8%, 48%, 0%, 20%)
CIE-LABlab(51.08, 31.68, -47.89)
CIE-LCHlch(51.08, 57.42, 303.49°)
OKLaboklab(59.11% 0.055 -0.1352)
OKLCHoklch(59.11% 0.146 292.1)
XYZxyz(25.1035, 19.3342, 59.5243)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816ACC #B5CC6A
analogous
#6A84CC #816ACC #B26ACC
triadic
#816ACC #CC816A #6ACC81
tetradic
#816ACC #CC6A84 #B5CC6A #6ACCB2
square
#816ACC #CC6A84 #B5CC6A #6ACCB2
split-complementary
#816ACC #CCB26A #84CC6A
monochromatic
#45308C #5C3FB9 #816ACC #A898DC #CEC5EB

Accessibility & contrast

On white

4.31
#816ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#816ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816ACC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816ACC#FFFFFF#000000##000000
##816ACC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#6E7D91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #816acc;
/* rgb */ color: rgb(129, 106, 204);
/* oklch */ color: oklch(59.1% 0.146 292.1);
Tailwind
colors: {
  custom: {
    50: '#a995dc',
    500: '#816acc',
    950: '#000000',
  },
}
SCSS
$custom: #816acc;
$custom-light: #a995dc;
$custom-dark: #000000;
JSON
{
  "hex": "#816acc",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 254.082,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.14601,
    "h": 292.1
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#816ACC
secondary
#D3DBB6
accent
#BC299A
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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