#816AFA#816AFA

#816AFA is a light, highly saturated blue. Relative luminance 0.219; OKLCH L 62.1% C 0.206 H 286.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#816AFA
RGBrgb(129, 106, 250)
HSLhsl(250, 94%, 70%)
HSVhsv(250, 58%, 98%)
CMYKcmyk(48.4%, 57.6%, 0%, 2%)
CIE-LABlab(53.90, 44.59, -69.24)
CIE-LCHlch(53.90, 82.36, 302.78°)
OKLaboklab(62.11% 0.057 -0.198)
OKLCHoklch(62.11% 0.206 286.1)
XYZxyz(31.4575, 21.8758, 92.9889)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AFA #E3FA6A
analogous
#6A9BFA #816AFA #C96AFA
triadic
#816AFA #FA816A #6AFA81
tetradic
#816AFA #FA6A9B #E3FA6A #6AFAC9
square
#816AFA #FA6A9B #E3FA6A #6AFAC9
split-complementary
#816AFA #FAC96A #9BFA6A
monochromatic
#2A08E2 #4F2FF8 #816AFA #B3A5FC #E5E0FE

Accessibility & contrast

On white

3.91
#816AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#816AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816AFA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816AFA#FFFFFF#000000##000000
##816AFA1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #816afa;
/* rgb */ color: rgb(129, 106, 250);
/* oklch */ color: oklch(62.1% 0.206 286.1);
Tailwind
colors: {
  custom: {
    50: '#ae95fd',
    500: '#816afa',
    950: '#000000',
  },
}
SCSS
$custom: #816afa;
$custom-light: #ae95fd;
$custom-dark: #000000;
JSON
{
  "hex": "#816afa",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 249.583,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62105,
    "c": 0.20601,
    "h": 286.1
  },
  "luminance": 0.21877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #816AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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