#816CD1#816CD1

#816CD1 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.8% C 0.150 H 290.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#816CD1
RGBrgb(129, 108, 209)
HSLhsl(252, 52%, 62%)
HSVhsv(252, 48%, 82%)
CMYKcmyk(38.3%, 48.3%, 0%, 18%)
CIE-LABlab(51.83, 31.87, -49.53)
CIE-LCHlch(51.83, 58.90, 302.76°)
OKLaboklab(59.76% 0.053 -0.1401)
OKLCHoklch(59.76% 0.15 290.7)
XYZxyz(25.9213, 19.9950, 62.8029)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CD1 #BCD16C
analogous
#6C8AD1 #816CD1 #B46CD1
triadic
#816CD1 #D1816C #6CD181
tetradic
#816CD1 #D16C8A #BCD16C #6CD1B4
square
#816CD1 #D16C8A #BCD16C #6CD1B4
split-complementary
#816CD1 #D1B46C #8AD16C
monochromatic
#442E94 #593DC2 #816CD1 #A99BE0 #D1C9EE

Accessibility & contrast

On white

4.20
#816CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#816CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CD1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CD1#FFFFFF#000000##000000
##816CD11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467DD5
Deuteranopia (green-blind)
#4879CF
Tritanopia (blue-blind)
#6C8095
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #816cd1;
/* rgb */ color: rgb(129, 108, 209);
/* oklch */ color: oklch(59.8% 0.150 290.7);
Tailwind
colors: {
  custom: {
    50: '#a996df',
    500: '#816cd1',
    950: '#000000',
  },
}
SCSS
$custom: #816cd1;
$custom-light: #a996df;
$custom-dark: #000000;
JSON
{
  "hex": "#816cd1",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 252.475,
    "s": 52.332,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59764,
    "c": 0.14975,
    "h": 290.7
  },
  "luminance": 0.19996
}

Semantic roles & 50–950 ramp

primary
#816CD1
secondary
#D7DFBA
accent
#C026A0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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