#816CF7#816CF7

#816CF7 is a light, vivid blue. Relative luminance 0.221; OKLCH L 62.2% C 0.200 H 286.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#816CF7
RGBrgb(129, 108, 247)
HSLhsl(249, 90%, 70%)
HSVhsv(249, 56%, 97%)
CMYKcmyk(47.8%, 56.3%, 0%, 3.1%)
CIE-LABlab(54.14, 42.58, -67.18)
CIE-LCHlch(54.14, 79.54, 302.37°)
OKLaboklab(62.22% 0.0549 -0.1919)
OKLCHoklch(62.22% 0.2 286)
XYZxyz(31.1994, 22.1062, 90.6006)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CF7 #E2F76C
analogous
#6C9DF7 #816CF7 #C76CF7
triadic
#816CF7 #F7816C #6CF781
tetradic
#816CF7 #F76C9D #E2F76C #6CF7C7
square
#816CF7 #F76C9D #E2F76C #6CF7C7
split-complementary
#816CF7 #F7C76C #9DF76C
monochromatic
#2C0CDD #4F32F4 #816CF7 #B3A6FA #E5E0FD

Accessibility & contrast

On white

3.87
#816CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#816CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CF7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CF7#FFFFFF#000000##000000
##816CF71.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #816cf7;
/* rgb */ color: rgb(129, 108, 247);
/* oklch */ color: oklch(62.2% 0.200 286.0);
Tailwind
colors: {
  custom: {
    50: '#ad97fb',
    500: '#816cf7',
    950: '#000000',
  },
}
SCSS
$custom: #816cf7;
$custom-light: #ad97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#816cf7",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 249.065,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.1996,
    "h": 286
  },
  "luminance": 0.22108
}

Semantic roles & 50–950 ramp

primary
#816CF7
secondary
#EDF3CC
accent
#E600C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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