#816EF6#816EF6

#816EF6 is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.5% C 0.196 H 285.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#816EF6
RGBrgb(129, 110, 246)
HSLhsl(248, 88%, 70%)
HSVhsv(248, 55%, 96%)
CMYKcmyk(47.6%, 55.3%, 0%, 3.5%)
CIE-LABlab(54.52, 41.15, -66.01)
CIE-LCHlch(54.52, 77.78, 301.94°)
OKLaboklab(62.49% 0.0527 -0.1884)
OKLCHoklch(62.49% 0.196 285.6)
XYZxyz(31.2588, 22.4714, 89.8613)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816EF6 #E3F66E
analogous
#6E9FF6 #816EF6 #C56EF6
triadic
#816EF6 #F6816E #6EF681
tetradic
#816EF6 #F66E9F #E3F66E #6EF6C5
square
#816EF6 #F66E9F #E3F66E #6EF6C5
split-complementary
#816EF6 #F6C56E #9FF66E
monochromatic
#2A0EDC #4F34F2 #816EF6 #B3A8FA #E5E1FD

Accessibility & contrast

On white

3.82
#816EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#816EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816EF6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816EF6#FFFFFF#000000##000000
##816EF61.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1786FB
Deuteranopia (green-blind)
#0F7EF3
Tritanopia (blue-blind)
#598CA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #816ef6;
/* rgb */ color: rgb(129, 110, 246);
/* oklch */ color: oklch(62.5% 0.196 285.6);
Tailwind
colors: {
  custom: {
    50: '#ad98fa',
    500: '#816ef6',
    950: '#000000',
  },
}
SCSS
$custom: #816ef6;
$custom-light: #ad98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#816ef6",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 248.382,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62486,
    "c": 0.19567,
    "h": 285.6
  },
  "luminance": 0.22473
}

Semantic roles & 50–950 ramp

primary
#816EF6
secondary
#EEF3CD
accent
#E501C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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