#816DEB#816DEB

#816DEB is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.6% C 0.183 H 287.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#816DEB
RGBrgb(129, 109, 235)
HSLhsl(250, 76%, 67%)
HSVhsv(250, 54%, 92%)
CMYKcmyk(45.1%, 53.6%, 0%, 7.8%)
CIE-LABlab(53.60, 38.57, -61.36)
CIE-LCHlch(53.60, 72.48, 302.15°)
OKLaboklab(61.58% 0.0536 -0.1748)
OKLCHoklch(61.58% 0.183 287)
XYZxyz(29.5130, 21.6014, 81.1956)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DEB #D7EB6D
analogous
#6D98EB #816DEB #C06DEB
triadic
#816DEB #EB816D #6DEB81
tetradic
#816DEB #EB6D98 #D7EB6D #6DEBC0
square
#816DEB #EB6D98 #D7EB6D #6DEBC0
split-complementary
#816DEB #EBC06D #98EB6D
monochromatic
#351BC3 #5337E4 #816DEB #AFA3F2 #DED9FA

Accessibility & contrast

On white

3.95
#816DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#816DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DEB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DEB#FFFFFF#000000##000000
##816DEB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EF
Deuteranopia (green-blind)
#2A7DE8
Tritanopia (blue-blind)
#5F88A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #816deb;
/* rgb */ color: rgb(129, 109, 235);
/* oklch */ color: oklch(61.6% 0.183 287.0);
Tailwind
colors: {
  custom: {
    50: '#ac97f2',
    500: '#816deb',
    950: '#000000',
  },
}
SCSS
$custom: #816deb;
$custom-light: #ac97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#816deb",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 249.524,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6158,
    "c": 0.18281,
    "h": 287
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

primary
#816DEB
secondary
#E7EEC6
accent
#D80DB8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #816DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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