#816DF7#816DF7

#816DF7 is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.4% C 0.198 H 285.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#816DF7
RGBrgb(129, 109, 247)
HSLhsl(249, 90%, 70%)
HSVhsv(249, 56%, 97%)
CMYKcmyk(47.8%, 55.9%, 0%, 3.1%)
CIE-LABlab(54.36, 42.01, -66.82)
CIE-LCHlch(54.36, 78.93, 302.16°)
OKLaboklab(62.39% 0.0538 -0.1908)
OKLCHoklch(62.39% 0.198 285.7)
XYZxyz(31.3055, 22.3183, 90.6360)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DF7 #E3F76D
analogous
#6D9EF7 #816DF7 #C66DF7
triadic
#816DF7 #F7816D #6DF781
tetradic
#816DF7 #F76D9E #E3F76D #6DF7C6
square
#816DF7 #F76D9E #E3F76D #6DF7C6
split-complementary
#816DF7 #F7C66D #9EF76D
monochromatic
#2A0CDD #4F33F4 #816DF7 #B3A7FA #E5E1FD

Accessibility & contrast

On white

3.84
#816DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#816DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DF7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DF7#FFFFFF#000000##000000
##816DF71.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C86FC
Deuteranopia (green-blind)
#017EF4
Tritanopia (blue-blind)
#588CA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #816df7;
/* rgb */ color: rgb(129, 109, 247);
/* oklch */ color: oklch(62.4% 0.198 285.7);
Tailwind
colors: {
  custom: {
    50: '#ad97fb',
    500: '#816df7',
    950: '#000000',
  },
}
SCSS
$custom: #816df7;
$custom-light: #ad97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#816df7",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 248.696,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.19828,
    "h": 285.7
  },
  "luminance": 0.2232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #816DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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