#816FEB#816FEB

#816FEB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.180 H 286.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#816FEB
RGBrgb(129, 111, 235)
HSLhsl(249, 76%, 68%)
HSVhsv(249, 53%, 92%)
CMYKcmyk(45.1%, 52.8%, 0%, 7.8%)
CIE-LABlab(54.06, 37.41, -60.62)
CIE-LCHlch(54.06, 71.24, 301.68°)
OKLaboklab(61.92% 0.0513 -0.1726)
OKLCHoklch(61.92% 0.18 286.5)
XYZxyz(29.7288, 22.0329, 81.2675)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FEB #D9EB6F
analogous
#6F9BEB #816FEB #BF6FEB
triadic
#816FEB #EB816F #6FEB81
tetradic
#816FEB #EB6F9B #D9EB6F #6FEBBF
square
#816FEB #EB6F9B #D9EB6F #6FEBBF
split-complementary
#816FEB #EBBF6F #9BEB6F
monochromatic
#341BC4 #5239E4 #816FEB #B0A5F2 #DFDAFA

Accessibility & contrast

On white

3.88
#816FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#816FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FEB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FEB#FFFFFF#000000##000000
##816FEB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EF
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#5F8AA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816feb;
/* rgb */ color: rgb(129, 111, 235);
/* oklch */ color: oklch(61.9% 0.180 286.5);
Tailwind
colors: {
  custom: {
    50: '#ac98f2',
    500: '#816feb',
    950: '#000000',
  },
}
SCSS
$custom: #816feb;
$custom-light: #ac98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#816feb",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 248.71,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.18005,
    "h": 286.5
  },
  "luminance": 0.22034
}

Semantic roles & 50–950 ramp

primary
#816FEB
secondary
#E8EEC8
accent
#D80EBA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #816FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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