#816AFE#816AFE

#816AFE is a light, highly saturated blue. Relative luminance 0.221; OKLCH L 62.4% C 0.211 H 285.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#816AFE
RGBrgb(129, 106, 254)
HSLhsl(249, 99%, 71%)
HSVhsv(249, 58%, 100%)
CMYKcmyk(49.2%, 58.3%, 0%, 0.4%)
CIE-LABlab(54.16, 45.74, -71.02)
CIE-LCHlch(54.16, 84.48, 302.78°)
OKLaboklab(62.39% 0.0569 -0.2032)
OKLCHoklch(62.39% 0.211 285.6)
XYZxyz(32.0914, 22.1294, 96.3272)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AFE #E7FE6A
analogous
#6A9DFE #816AFE #CB6AFE
triadic
#816AFE #FE816A #6AFE81
tetradic
#816AFE #FE6A9D #E7FE6A #6AFECB
square
#816AFE #FE6A9D #E7FE6A #6AFECB
split-complementary
#816AFE #FECB6A #9DFE6A
monochromatic
#2602EC #4E2DFE #816AFE #B4A7FE #E5E1FF

Accessibility & contrast

On white

3.87
#816AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#816AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816AFE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816AFE#FFFFFF#000000##000000
##816AFE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#538CAA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816afe;
/* rgb */ color: rgb(129, 106, 254);
/* oklch */ color: oklch(62.4% 0.211 285.6);
Tailwind
colors: {
  custom: {
    50: '#ae95ff',
    500: '#816afe',
    950: '#000000',
  },
}
SCSS
$custom: #816afe;
$custom-light: #ae95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#816afe",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 249.324,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.21102,
    "h": 285.6
  },
  "luminance": 0.22131
}

Semantic roles & 50–950 ramp

primary
#816AFE
secondary
#F0F6CE
accent
#E600C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #816AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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