#816AEA#816AEA

#816AEA is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.186 H 287.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#816AEA
RGBrgb(129, 106, 234)
HSLhsl(251, 75%, 67%)
HSVhsv(251, 55%, 92%)
CMYKcmyk(44.9%, 54.7%, 0%, 8.2%)
CIE-LABlab(52.86, 40.02, -62.00)
CIE-LCHlch(52.86, 73.80, 302.84°)
OKLaboklab(61.01% 0.057 -0.1767)
OKLCHoklch(61.01% 0.186 287.9)
XYZxyz(29.0543, 20.9146, 80.3320)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AEA #D3EA6A
analogous
#6A93EA #816AEA #C16AEA
triadic
#816AEA #EA816A #6AEA81
tetradic
#816AEA #EA6A93 #D3EA6A #6AEAC1
square
#816AEA #EA6A93 #D3EA6A #6AEAC1
split-complementary
#816AEA #EAC16A #93EA6A
monochromatic
#381BBF #5434E2 #816AEA #AEA0F2 #DCD5F9

Accessibility & contrast

On white

4.05
#816AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#816AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816AEA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816AEA#FFFFFF#000000##000000
##816AEA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2381EE
Deuteranopia (green-blind)
#237BE7
Tritanopia (blue-blind)
#6086A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #816aea;
/* rgb */ color: rgb(129, 106, 234);
/* oklch */ color: oklch(61.0% 0.186 287.9);
Tailwind
colors: {
  custom: {
    50: '#ac95f1',
    500: '#816aea',
    950: '#000000',
  },
}
SCSS
$custom: #816aea;
$custom-light: #ac95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#816aea",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 250.781,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61007,
    "c": 0.18563,
    "h": 287.9
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

primary
#816AEA
secondary
#E5EDC3
accent
#D70EB3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #816AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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