#816BF5#816BF5

#816BF5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.9% C 0.198 H 286.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#816BF5
RGBrgb(129, 107, 245)
HSLhsl(250, 87%, 69%)
HSVhsv(250, 56%, 96%)
CMYKcmyk(47.3%, 56.3%, 0%, 3.9%)
CIE-LABlab(53.79, 42.58, -66.64)
CIE-LCHlch(53.79, 79.09, 302.58°)
OKLaboklab(61.92% 0.056 -0.1903)
OKLCHoklch(61.92% 0.198 286.4)
XYZxyz(30.7876, 21.7737, 88.9490)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BF5 #DFF56B
analogous
#6B9AF5 #816BF5 #C66BF5
triadic
#816BF5 #F5816B #6BF581
tetradic
#816BF5 #F56B9A #DFF56B #6BF5C6
square
#816BF5 #F56B9A #DFF56B #6BF5C6
split-complementary
#816BF5 #F5C66B #9AF56B
monochromatic
#2F0FD7 #5032F1 #816BF5 #B2A4F9 #E3DEFD

Accessibility & contrast

On white

3.92
#816BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#816BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BF5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BF5#FFFFFF#000000##000000
##816BF51.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0484FA
Deuteranopia (green-blind)
#007DF2
Tritanopia (blue-blind)
#5A8AA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816bf5;
/* rgb */ color: rgb(129, 107, 245);
/* oklch */ color: oklch(61.9% 0.198 286.4);
Tailwind
colors: {
  custom: {
    50: '#ad96f9',
    500: '#816bf5',
    950: '#000000',
  },
}
SCSS
$custom: #816bf5;
$custom-light: #ad96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#816bf5",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 249.565,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6192,
    "c": 0.19837,
    "h": 286.4
  },
  "luminance": 0.21775
}

Semantic roles & 50–950 ramp

primary
#816BF5
secondary
#ECF2CA
accent
#E402C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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