#816BD2#816BD2

#816BD2 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.6% C 0.153 H 290.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#816BD2
RGBrgb(129, 107, 210)
HSLhsl(253, 53%, 62%)
HSVhsv(253, 49%, 82%)
CMYKcmyk(38.6%, 49%, 0%, 17.6%)
CIE-LABlab(51.65, 32.73, -50.39)
CIE-LCHlch(51.65, 60.09, 303.01°)
OKLaboklab(59.65% 0.0544 -0.1426)
OKLCHoklch(59.65% 0.153 290.9)
XYZxyz(25.9407, 19.8349, 63.4220)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BD2 #BCD26B
analogous
#6B88D2 #816BD2 #B56BD2
triadic
#816BD2 #D2816B #6BD281
tetradic
#816BD2 #D26B88 #BCD26B #6BD2B5
square
#816BD2 #D26B88 #BCD26B #6BD2B5
split-complementary
#816BD2 #D2B56B #88D26B
monochromatic
#442D95 #593CC4 #816BD2 #A99AE0 #D1C9EF

Accessibility & contrast

On white

4.23
#816BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#816BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BD2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BD2#FFFFFF#000000##000000
##816BD21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#437DD6
Deuteranopia (green-blind)
#4579D0
Tritanopia (blue-blind)
#6C8095
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #816bd2;
/* rgb */ color: rgb(129, 107, 210);
/* oklch */ color: oklch(59.6% 0.153 290.9);
Tailwind
colors: {
  custom: {
    50: '#a996e0',
    500: '#816bd2',
    950: '#000000',
  },
}
SCSS
$custom: #816bd2;
$custom-light: #a996e0;
$custom-dark: #000000;
JSON
{
  "hex": "#816bd2",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 252.816,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.15259,
    "h": 290.9
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#816BD2
secondary
#D7DFB9
accent
#C1259F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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