#816DF8#816DF8

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

Color values

HEX#816DF8
RGBrgb(129, 109, 248)
HSLhsl(249, 91%, 70%)
HSVhsv(249, 56%, 97%)
CMYKcmyk(48%, 56%, 0%, 2.7%)
CIE-LABlab(54.43, 42.30, -67.27)
CIE-LCHlch(54.43, 79.47, 302.16°)
OKLaboklab(62.46% 0.0538 -0.1922)
OKLCHoklch(62.46% 0.2 285.6)
XYZxyz(31.4602, 22.3802, 91.4509)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DF8 #E4F86D
analogous
#6D9FF8 #816DF8 #C66DF8
triadic
#816DF8 #F8816D #6DF881
tetradic
#816DF8 #F86D9F #E4F86D #6DF8C6
square
#816DF8 #F86D9F #E4F86D #6DF8C6
split-complementary
#816DF8 #F8C66D #9FF86D
monochromatic
#290BE0 #4F33F5 #816DF8 #B3A7FB #E6E2FE

Accessibility & contrast

On white

3.83
#816DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#816DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DF8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DF8#FFFFFF#000000##000000
##816DF81.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0786FD
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#578CA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #816df8;
/* rgb */ color: rgb(129, 109, 248);
/* oklch */ color: oklch(62.5% 0.200 285.6);
Tailwind
colors: {
  custom: {
    50: '#ad97fb',
    500: '#816df8',
    950: '#000000',
  },
}
SCSS
$custom: #816df8;
$custom-light: #ad97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#816df8",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 248.633,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.62457,
    "c": 0.19956,
    "h": 285.6
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#816DF8
secondary
#EEF4CD
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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