#816CCE#816CCE

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

Color values

HEX#816CCE
RGBrgb(129, 108, 206)
HSLhsl(253, 50%, 62%)
HSVhsv(253, 48%, 81%)
CMYKcmyk(37.4%, 47.6%, 0%, 19.2%)
CIE-LABlab(51.66, 31.05, -48.09)
CIE-LCHlch(51.66, 57.24, 302.85°)
OKLaboklab(59.59% 0.0527 -0.1358)
OKLCHoklch(59.59% 0.146 291.2)
XYZxyz(25.5534, 19.8478, 60.8652)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CCE #B9CE6C
analogous
#6C88CE #816CCE #B26CCE
triadic
#816CCE #CE816C #6CCE81
tetradic
#816CCE #CE6C88 #B9CE6C #6CCEB2
square
#816CCE #CE6C88 #B9CE6C #6CCEB2
split-complementary
#816CCE #CEB26C #88CE6C
monochromatic
#443090 #5A3FBE #816CCE #A89ADD #D0C8ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816CCE#FFFFFF#000000##000000
##816CCE1.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)
#487DD2
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#6D7F93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #816cce;
/* rgb */ color: rgb(129, 108, 206);
/* oklch */ color: oklch(59.6% 0.146 291.2);
Tailwind
colors: {
  custom: {
    50: '#a996dd',
    500: '#816cce',
    950: '#000000',
  },
}
SCSS
$custom: #816cce;
$custom-light: #a996dd;
$custom-dark: #000000;
JSON
{
  "hex": "#816cce",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 252.857,
    "s": 50,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59585,
    "c": 0.14569,
    "h": 291.2
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#816CCE
secondary
#D5DDB9
accent
#BD289D
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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