#816CD6#816CD6

#816CD6 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.1% C 0.156 H 290.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#816CD6
RGBrgb(129, 108, 214)
HSLhsl(252, 56%, 63%)
HSVhsv(252, 50%, 84%)
CMYKcmyk(39.7%, 49.5%, 0%, 16.1%)
CIE-LABlab(52.11, 33.25, -51.92)
CIE-LCHlch(52.11, 61.65, 302.64°)
OKLaboklab(60.07% 0.0535 -0.1471)
OKLCHoklch(60.07% 0.156 290)
XYZxyz(26.5501, 20.2465, 66.1144)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CD6 #C1D66C
analogous
#6C8CD6 #816CD6 #B66CD6
triadic
#816CD6 #D6816C #6CD681
tetradic
#816CD6 #D66C8C #C1D66C #6CD6B6
square
#816CD6 #D66C8C #C1D66C #6CD6B6
split-complementary
#816CD6 #D6B66C #8CD66C
monochromatic
#422C9C #583CC9 #816CD6 #AA9CE3 #D3CCF1

Accessibility & contrast

On white

4.16
#816CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#816CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CD6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CD6#FFFFFF#000000##000000
##816CD61.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#417EDA
Deuteranopia (green-blind)
#437AD4
Tritanopia (blue-blind)
#6A8297
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #816cd6;
/* rgb */ color: rgb(129, 108, 214);
/* oklch */ color: oklch(60.1% 0.156 290.0);
Tailwind
colors: {
  custom: {
    50: '#aa96e3',
    500: '#816cd6',
    950: '#000000',
  },
}
SCSS
$custom: #816cd6;
$custom-light: #aa96e3;
$custom-dark: #000000;
JSON
{
  "hex": "#816cd6",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 251.887,
    "s": 56.383,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60068,
    "c": 0.15648,
    "h": 290
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#816CD6
secondary
#DAE2BC
accent
#C422A4
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D15
muted
#7F7E84

Preview Lab

Preview with #816CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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