#816DFB#816DFB

#816DFB is a light, highly saturated blue. Relative luminance 0.226; OKLCH L 62.7% C 0.203 H 285.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#816DFB
RGBrgb(129, 109, 251)
HSLhsl(248, 95%, 71%)
HSVhsv(248, 57%, 98%)
CMYKcmyk(48.6%, 56.6%, 0%, 1.6%)
CIE-LABlab(54.62, 43.16, -68.62)
CIE-LCHlch(54.62, 81.07, 302.17°)
OKLaboklab(62.66% 0.0538 -0.1961)
OKLCHoklch(62.66% 0.203 285.3)
XYZxyz(31.9293, 22.5679, 93.9217)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DFB #E7FB6D
analogous
#6DA0FB #816DFB #C86DFB
triadic
#816DFB #FB816D #6DFB81
tetradic
#816DFB #FB6DA0 #E7FB6D #6DFBC8
square
#816DFB #FB6DA0 #E7FB6D #6DFBC8
split-complementary
#816DFB #FBC86D #A0FB6D
monochromatic
#2606E7 #4E31F9 #816DFB #B4A9FD #E5E1FE

Accessibility & contrast

On white

3.81
#816DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#816DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DFB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DFB#FFFFFF#000000##000000
##816DFB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#558DAA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #816dfb;
/* rgb */ color: rgb(129, 109, 251);
/* oklch */ color: oklch(62.7% 0.203 285.3);
Tailwind
colors: {
  custom: {
    50: '#ae97fd',
    500: '#816dfb',
    950: '#000000',
  },
}
SCSS
$custom: #816dfb;
$custom-light: #ae97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#816dfb",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 248.451,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62664,
    "c": 0.20337,
    "h": 285.3
  },
  "luminance": 0.22569
}

Semantic roles & 50–950 ramp

primary
#816DFB
secondary
#F0F5CF
accent
#E600C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #816DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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