#816CD0#816CD0

#816CD0 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.7% C 0.148 H 290.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#816CD0
RGBrgb(129, 108, 208)
HSLhsl(253, 52%, 62%)
HSVhsv(253, 48%, 82%)
CMYKcmyk(38%, 48.1%, 0%, 18.4%)
CIE-LABlab(51.78, 31.60, -49.05)
CIE-LCHlch(51.78, 58.35, 302.79°)
OKLaboklab(59.7% 0.0529 -0.1387)
OKLCHoklch(59.7% 0.148 290.9)
XYZxyz(25.7979, 19.9456, 62.1529)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CD0 #BBD06C
analogous
#6C89D0 #816CD0 #B36CD0
triadic
#816CD0 #D0816C #6CD081
tetradic
#816CD0 #D06C89 #BBD06C #6CD0B3
square
#816CD0 #D06C89 #BBD06C #6CD0B3
split-complementary
#816CD0 #D0B36C #89D06C
monochromatic
#442F93 #593EC1 #816CD0 #A99ADF #D0C9EE

Accessibility & contrast

On white

4.21
#816CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#816CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CD0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CD0#FFFFFF#000000##000000
##816CD01.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#467DD4
Deuteranopia (green-blind)
#4979CE
Tritanopia (blue-blind)
#6C8094
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #816cd0;
/* rgb */ color: rgb(129, 108, 208);
/* oklch */ color: oklch(59.7% 0.148 290.9);
Tailwind
colors: {
  custom: {
    50: '#a996df',
    500: '#816cd0',
    950: '#000000',
  },
}
SCSS
$custom: #816cd0;
$custom-light: #a996df;
$custom-dark: #000000;
JSON
{
  "hex": "#816cd0",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 208
  },
  "hsl": {
    "h": 252.6,
    "s": 51.546,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59704,
    "c": 0.1484,
    "h": 290.9
  },
  "luminance": 0.19946
}

Semantic roles & 50–950 ramp

primary
#816CD0
secondary
#D7DEB9
accent
#BF279F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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