#816AFB#816AFB

#816AFB is a light, highly saturated blue. Relative luminance 0.219; OKLCH L 62.2% C 0.207 H 285.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#816AFB
RGBrgb(129, 106, 251)
HSLhsl(250, 95%, 70%)
HSVhsv(250, 58%, 98%)
CMYKcmyk(48.6%, 57.8%, 0%, 1.6%)
CIE-LABlab(53.96, 44.87, -69.69)
CIE-LCHlch(53.96, 82.89, 302.78°)
OKLaboklab(62.18% 0.0569 -0.1993)
OKLCHoklch(62.18% 0.207 285.9)
XYZxyz(31.6147, 21.9387, 93.8169)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AFB #E4FB6A
analogous
#6A9CFB #816AFB #C96AFB
triadic
#816AFB #FB816A #6AFB81
tetradic
#816AFB #FB6A9C #E4FB6A #6AFBC9
square
#816AFB #FB6A9C #E4FB6A #6AFBC9
split-complementary
#816AFB #FBC96A #9CFB6A
monochromatic
#2906E4 #4F2EF9 #816AFB #B3A6FD #E6E1FE

Accessibility & contrast

On white

3.90
#816AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#816AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816AFB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816AFB#FFFFFF#000000##000000
##816AFB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#568BA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816afb;
/* rgb */ color: rgb(129, 106, 251);
/* oklch */ color: oklch(62.2% 0.207 285.9);
Tailwind
colors: {
  custom: {
    50: '#ae95fe',
    500: '#816afb',
    950: '#000000',
  },
}
SCSS
$custom: #816afb;
$custom-light: #ae95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#816afb",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 249.517,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.62176,
    "c": 0.20726,
    "h": 285.9
  },
  "luminance": 0.2194
}

Semantic roles & 50–950 ramp

primary
#816AFB
secondary
#EEF5CC
accent
#E600C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #816AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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