#816EF5#816EF5

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

Color values

HEX#816EF5
RGBrgb(129, 110, 245)
HSLhsl(248, 87%, 70%)
HSVhsv(248, 55%, 96%)
CMYKcmyk(47.3%, 55.1%, 0%, 3.9%)
CIE-LABlab(54.46, 40.86, -65.56)
CIE-LCHlch(54.46, 77.25, 301.93°)
OKLaboklab(62.42% 0.0527 -0.1871)
OKLCHoklch(62.42% 0.194 285.7)
XYZxyz(31.1058, 22.4101, 89.0551)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816EF5 #E2F56E
analogous
#6E9FF5 #816EF5 #C46EF5
triadic
#816EF5 #F5816E #6EF581
tetradic
#816EF5 #F56E9F #E2F56E #6EF5C4
square
#816EF5 #F56E9F #E2F56E #6EF5C4
split-complementary
#816EF5 #F5C46E #9FF56E
monochromatic
#2C0FDA #4F35F1 #816EF5 #B3A7F9 #E4E1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816EF5#FFFFFF#000000##000000
##816EF51.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)
#1A86FA
Deuteranopia (green-blind)
#137EF2
Tritanopia (blue-blind)
#598CA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #816ef5;
/* rgb */ color: rgb(129, 110, 245);
/* oklch */ color: oklch(62.4% 0.194 285.7);
Tailwind
colors: {
  custom: {
    50: '#ad98f9',
    500: '#816ef5',
    950: '#000000',
  },
}
SCSS
$custom: #816ef5;
$custom-light: #ad98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#816ef5",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 248.444,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62418,
    "c": 0.19439,
    "h": 285.7
  },
  "luminance": 0.22412
}

Semantic roles & 50–950 ramp

primary
#816EF5
secondary
#EDF3CC
accent
#E402C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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