#816EF7#816EF7

#816EF7 is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.6% C 0.197 H 285.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#816EF7
RGBrgb(129, 110, 247)
HSLhsl(248, 90%, 70%)
HSVhsv(248, 55%, 97%)
CMYKcmyk(47.8%, 55.5%, 0%, 3.1%)
CIE-LABlab(54.59, 41.44, -66.46)
CIE-LCHlch(54.59, 78.32, 301.94°)
OKLaboklab(62.55% 0.0527 -0.1898)
OKLCHoklch(62.55% 0.197 285.5)
XYZxyz(31.4127, 22.5329, 90.6718)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816EF7 #E4F76E
analogous
#6EA0F7 #816EF7 #C56EF7
triadic
#816EF7 #F7816E #6EF781
tetradic
#816EF7 #F76EA0 #E4F76E #6EF7C5
square
#816EF7 #F76EA0 #E4F76E #6EF7C5
split-complementary
#816EF7 #F7C56E #A0F76E
monochromatic
#290CDE #4F34F4 #816EF7 #B3A8FA #E6E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816EF7#FFFFFF#000000##000000
##816EF71.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)
#1486FC
Deuteranopia (green-blind)
#097FF4
Tritanopia (blue-blind)
#588DA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #816ef7;
/* rgb */ color: rgb(129, 110, 247);
/* oklch */ color: oklch(62.6% 0.197 285.5);
Tailwind
colors: {
  custom: {
    50: '#ad98fb',
    500: '#816ef7',
    950: '#000000',
  },
}
SCSS
$custom: #816ef7;
$custom-light: #ad98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#816ef7",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 248.321,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.62554,
    "c": 0.19695,
    "h": 285.5
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#816EF7
secondary
#EEF4CD
accent
#E600C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #816EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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