#816AE8#816AE8

#816AE8 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.9% C 0.183 H 288.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#816AE8
RGBrgb(129, 106, 232)
HSLhsl(251, 73%, 66%)
HSVhsv(251, 54%, 91%)
CMYKcmyk(44.4%, 54.3%, 0%, 9%)
CIE-LABlab(52.73, 39.46, -61.08)
CIE-LCHlch(52.73, 72.72, 302.86°)
OKLaboklab(60.87% 0.0569 -0.174)
OKLCHoklch(60.87% 0.183 288.1)
XYZxyz(28.7686, 20.8003, 78.8273)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AE8 #D1E86A
analogous
#6A92E8 #816AE8 #C06AE8
triadic
#816AE8 #E8816A #6AE881
tetradic
#816AE8 #E86A92 #D1E86A #6AE8C0
square
#816AE8 #E86A92 #D1E86A #6AE8C0
split-complementary
#816AE8 #E8C06A #92E86A
monochromatic
#3A1DBB #5435E0 #816AE8 #AE9FF0 #DBD4F8

Accessibility & contrast

On white

4.07
#816AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#816AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816AE8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816AE8#FFFFFF#000000##000000
##816AE81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681EC
Deuteranopia (green-blind)
#277BE5
Tritanopia (blue-blind)
#61859F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #816ae8;
/* rgb */ color: rgb(129, 106, 232);
/* oklch */ color: oklch(60.9% 0.183 288.1);
Tailwind
colors: {
  custom: {
    50: '#ac95f0',
    500: '#816ae8',
    950: '#000000',
  },
}
SCSS
$custom: #816ae8;
$custom-light: #ac95f0;
$custom-dark: #000000;
JSON
{
  "hex": "#816ae8",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 232
  },
  "hsl": {
    "h": 250.952,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60873,
    "c": 0.18305,
    "h": 288.1
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#816AE8
secondary
#E4EBC2
accent
#D510B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #816AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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