#816FF8#816FF8

#816FF8 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.8% C 0.197 H 285.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#816FF8
RGBrgb(129, 111, 248)
HSLhsl(248, 91%, 70%)
HSVhsv(248, 55%, 97%)
CMYKcmyk(48%, 55.2%, 0%, 2.7%)
CIE-LABlab(54.88, 41.15, -66.55)
CIE-LCHlch(54.88, 78.24, 301.73°)
OKLaboklab(62.79% 0.0516 -0.19)
OKLCHoklch(62.79% 0.197 285.2)
XYZxyz(31.6760, 22.8118, 91.5228)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FF8 #E6F86F
analogous
#6FA2F8 #816FF8 #C56FF8
triadic
#816FF8 #F8816F #6FF881
tetradic
#816FF8 #F86FA2 #E6F86F #6FF8C5
square
#816FF8 #F86FA2 #E6F86F #6FF8C5
split-complementary
#816FF8 #F8C56F #A2F86F
monochromatic
#270BE2 #4E35F5 #816FF8 #B4A9FB #E5E2FE

Accessibility & contrast

On white

3.78
#816FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#816FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FF8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FF8#FFFFFF#000000##000000
##816FF81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1787FD
Deuteranopia (green-blind)
#0B7FF5
Tritanopia (blue-blind)
#578EA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #816ff8;
/* rgb */ color: rgb(129, 111, 248);
/* oklch */ color: oklch(62.8% 0.197 285.2);
Tailwind
colors: {
  custom: {
    50: '#ad99fb',
    500: '#816ff8',
    950: '#000000',
  },
}
SCSS
$custom: #816ff8;
$custom-light: #ad99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#816ff8",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 247.883,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.19691,
    "h": 285.2
  },
  "luminance": 0.22813
}

Semantic roles & 50–950 ramp

primary
#816FF8
secondary
#EFF4CF
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #816FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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