#816AFF#816AFF

#816AFF is a light, highly saturated blue. Relative luminance 0.222; OKLCH L 62.5% C 0.212 H 285.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#816AFF
RGBrgb(129, 106, 255)
HSLhsl(249, 100%, 71%)
HSVhsv(249, 58%, 100%)
CMYKcmyk(49.4%, 58.4%, 0%, 0%)
CIE-LABlab(54.23, 46.02, -71.47)
CIE-LCHlch(54.23, 85.00, 302.78°)
OKLaboklab(62.46% 0.0568 -0.2045)
OKLCHoklch(62.46% 0.212 285.5)
XYZxyz(32.2519, 22.1936, 97.1727)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AFF #E8FF6A
analogous
#6A9DFF #816AFF #CC6AFF
triadic
#816AFF #FF816A #6AFF81
tetradic
#816AFF #FF6A9D #E8FF6A #6AFFCC
square
#816AFF #FF6A9D #E8FF6A #6AFFCC
split-complementary
#816AFF #FFCC6A #9DFF6A
monochromatic
#2500EF #4D2DFF #816AFF #B5A7FF #E5E0FF

Accessibility & contrast

On white

3.86
#816AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#816AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816AFF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816AFF#FFFFFF#000000##000000
##816AFF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007DFC
Tritanopia (blue-blind)
#538DAA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #816aff;
/* rgb */ color: rgb(129, 106, 255);
/* oklch */ color: oklch(62.5% 0.212 285.5);
Tailwind
colors: {
  custom: {
    50: '#ae95ff',
    500: '#816aff',
    950: '#000000',
  },
}
SCSS
$custom: #816aff;
$custom-light: #ae95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#816aff",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 249.262,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6246,
    "c": 0.21227,
    "h": 285.5
  },
  "luminance": 0.22195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #816AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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