#816AEC#816AEC

#816AEC is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.1% C 0.188 H 287.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#816AEC
RGBrgb(129, 106, 236)
HSLhsl(251, 77%, 67%)
HSVhsv(251, 55%, 93%)
CMYKcmyk(45.3%, 55.1%, 0%, 7.5%)
CIE-LABlab(52.98, 40.59, -62.92)
CIE-LCHlch(52.98, 74.88, 302.83°)
OKLaboklab(61.14% 0.057 -0.1794)
OKLCHoklch(61.14% 0.188 287.6)
XYZxyz(29.3433, 21.0301, 81.8537)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AEC #D5EC6A
analogous
#6A94EC #816AEC #C26AEC
triadic
#816AEC #EC816A #6AEC81
tetradic
#816AEC #EC6A94 #D5EC6A #6AECC2
square
#816AEC #EC6A94 #D5EC6A #6AECC2
split-complementary
#816AEC #ECC26A #94EC6A
monochromatic
#3719C3 #5334E5 #816AEC #AFA0F3 #DDD7FA

Accessibility & contrast

On white

4.03
#816AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#816AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816AEC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816AEC#FFFFFF#000000##000000
##816AEC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F0
Deuteranopia (green-blind)
#1F7BE9
Tritanopia (blue-blind)
#5F87A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #816aec;
/* rgb */ color: rgb(129, 106, 236);
/* oklch */ color: oklch(61.1% 0.188 287.6);
Tailwind
colors: {
  custom: {
    50: '#ac95f3',
    500: '#816aec',
    950: '#000000',
  },
}
SCSS
$custom: #816aec;
$custom-light: #ac95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#816aec",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 250.615,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.1882,
    "h": 287.6
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#816AEC
secondary
#E6EEC4
accent
#DA0CB5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #816AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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