#816CE6#816CE6

#816CE6 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.1% C 0.178 H 287.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#816CE6
RGBrgb(129, 108, 230)
HSLhsl(250, 71%, 66%)
HSVhsv(250, 53%, 90%)
CMYKcmyk(43.9%, 53%, 0%, 9.8%)
CIE-LABlab(53.06, 37.73, -59.43)
CIE-LCHlch(53.06, 70.39, 302.41°)
OKLaboklab(61.08% 0.0545 -0.1691)
OKLCHoklch(61.08% 0.178 287.9)
XYZxyz(28.6947, 21.1043, 77.4092)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CE6 #D1E66C
analogous
#6C94E6 #816CE6 #BE6CE6
triadic
#816CE6 #E6816C #6CE681
tetradic
#816CE6 #E66C94 #D1E66C #6CE6BE
square
#816CE6 #E66C94 #D1E66C #6CE6BE
split-complementary
#816CE6 #E6BE6C #94E66C
monochromatic
#3A1FB8 #5438DD #816CE6 #AEA0EF #DBD5F8

Accessibility & contrast

On white

4.02
#816CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#816CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CE6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CE6#FFFFFF#000000##000000
##816CE61.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EA
Deuteranopia (green-blind)
#307CE3
Tritanopia (blue-blind)
#62869F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #816ce6;
/* rgb */ color: rgb(129, 108, 230);
/* oklch */ color: oklch(61.1% 0.178 287.9);
Tailwind
colors: {
  custom: {
    50: '#ab96ef',
    500: '#816ce6',
    950: '#000000',
  },
}
SCSS
$custom: #816ce6;
$custom-light: #ab96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#816ce6",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 230
  },
  "hsl": {
    "h": 250.328,
    "s": 70.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.17767,
    "h": 287.9
  },
  "luminance": 0.21105
}

Semantic roles & 50–950 ramp

primary
#816CE6
secondary
#E4EBC3
accent
#D313B2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #816CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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