#816CD3#816CD3

#816CD3 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.9% C 0.152 H 290.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#816CD3
RGBrgb(129, 108, 211)
HSLhsl(252, 54%, 63%)
HSVhsv(252, 49%, 83%)
CMYKcmyk(38.9%, 48.8%, 0%, 17.3%)
CIE-LABlab(51.94, 32.42, -50.49)
CIE-LCHlch(51.94, 60.00, 302.71°)
OKLaboklab(59.89% 0.0532 -0.1429)
OKLCHoklch(59.89% 0.152 290.4)
XYZxyz(26.1705, 20.0947, 64.1152)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CD3 #BED36C
analogous
#6C8AD3 #816CD3 #B56CD3
triadic
#816CD3 #D3816C #6CD381
tetradic
#816CD3 #D36C8A #BED36C #6CD3B5
square
#816CD3 #D36C8A #BED36C #6CD3B5
split-complementary
#816CD3 #D3B56C #8AD36C
monochromatic
#432D97 #593DC5 #816CD3 #A99BE1 #D2CAEF

Accessibility & contrast

On white

4.18
#816CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#816CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CD3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CD3#FFFFFF#000000##000000
##816CD31.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ED7
Deuteranopia (green-blind)
#467AD1
Tritanopia (blue-blind)
#6B8195
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #816cd3;
/* rgb */ color: rgb(129, 108, 211);
/* oklch */ color: oklch(59.9% 0.152 290.4);
Tailwind
colors: {
  custom: {
    50: '#a996e1',
    500: '#816cd3',
    950: '#000000',
  },
}
SCSS
$custom: #816cd3;
$custom-light: #a996e1;
$custom-dark: #000000;
JSON
{
  "hex": "#816cd3",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 252.233,
    "s": 53.927,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59885,
    "c": 0.15245,
    "h": 290.4
  },
  "luminance": 0.20095
}

Semantic roles & 50–950 ramp

primary
#816CD3
secondary
#D8E0BB
accent
#C124A1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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