#816AD0#816AD0

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

Color values

HEX#816AD0
RGBrgb(129, 106, 208)
HSLhsl(254, 52%, 62%)
HSVhsv(254, 49%, 82%)
CMYKcmyk(38%, 49%, 0%, 18.4%)
CIE-LABlab(51.30, 32.77, -49.81)
CIE-LCHlch(51.30, 59.62, 303.34°)
OKLaboklab(59.35% 0.0554 -0.1409)
OKLCHoklch(59.35% 0.151 291.5)
XYZxyz(25.5894, 19.5286, 62.0834)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AD0 #B9D06A
analogous
#6A86D0 #816AD0 #B46AD0
triadic
#816AD0 #D0816A #6AD081
tetradic
#816AD0 #D06A86 #B9D06A #6AD0B4
square
#816AD0 #D06A86 #B9D06A #6AD0B4
split-complementary
#816AD0 #D0B46A #86D06A
monochromatic
#442E92 #5A3DC0 #816AD0 #A899DF #D0C7ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816AD0#FFFFFF#000000##000000
##816AD01.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)
#437CD4
Deuteranopia (green-blind)
#4678CE
Tritanopia (blue-blind)
#6D7E93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #816ad0;
/* rgb */ color: rgb(129, 106, 208);
/* oklch */ color: oklch(59.3% 0.151 291.5);
Tailwind
colors: {
  custom: {
    50: '#a995df',
    500: '#816ad0',
    950: '#000000',
  },
}
SCSS
$custom: #816ad0;
$custom-light: #a995df;
$custom-dark: #000000;
JSON
{
  "hex": "#816ad0",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 208
  },
  "hsl": {
    "h": 253.529,
    "s": 52.041,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.15139,
    "h": 291.5
  },
  "luminance": 0.19529
}

Semantic roles & 50–950 ramp

primary
#816AD0
secondary
#D5DEB8
accent
#BF269D
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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