#816BF7#816BF7

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

Color values

HEX#816BF7
RGBrgb(129, 107, 247)
HSLhsl(249, 90%, 69%)
HSVhsv(249, 57%, 97%)
CMYKcmyk(47.8%, 56.7%, 0%, 3.1%)
CIE-LABlab(53.92, 43.16, -67.54)
CIE-LCHlch(53.92, 80.15, 302.58°)
OKLaboklab(62.06% 0.0559 -0.193)
OKLCHoklch(62.06% 0.201 286.2)
XYZxyz(31.0945, 21.8965, 90.5657)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BF7 #E1F76B
analogous
#6B9BF7 #816BF7 #C76BF7
triadic
#816BF7 #F7816B #6BF781
tetradic
#816BF7 #F76B9B #E1F76B #6BF7C7
square
#816BF7 #F76B9B #E1F76B #6BF7C7
split-complementary
#816BF7 #F7C76B #9BF76B
monochromatic
#2D0CDC #5031F4 #816BF7 #B2A5FA #E4DFFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816BF7#FFFFFF#000000##000000
##816BF71.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#588BA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816bf7;
/* rgb */ color: rgb(129, 107, 247);
/* oklch */ color: oklch(62.1% 0.201 286.2);
Tailwind
colors: {
  custom: {
    50: '#ad96fb',
    500: '#816bf7',
    950: '#000000',
  },
}
SCSS
$custom: #816bf7;
$custom-light: #ad96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#816bf7",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 249.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.20091,
    "h": 286.2
  },
  "luminance": 0.21898
}

Semantic roles & 50–950 ramp

primary
#816BF7
secondary
#EDF3CB
accent
#E600C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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