#816CED#816CED

#816CED is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.5% C 0.187 H 287.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#816CED
RGBrgb(129, 108, 237)
HSLhsl(250, 78%, 68%)
HSVhsv(250, 54%, 93%)
CMYKcmyk(45.6%, 54.4%, 0%, 7.1%)
CIE-LABlab(53.50, 39.72, -62.65)
CIE-LCHlch(53.50, 74.18, 302.38°)
OKLaboklab(61.54% 0.0548 -0.1786)
OKLCHoklch(61.54% 0.187 287)
XYZxyz(29.6975, 21.5054, 82.6905)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CED #D8ED6C
analogous
#6C98ED #816CED #C16CED
triadic
#816CED #ED816C #6CED81
tetradic
#816CED #ED6C98 #D8ED6C #6CEDC1
square
#816CED #ED6C98 #D8ED6C #6CEDC1
split-complementary
#816CED #EDC16C #98ED6C
monochromatic
#3518C6 #5235E6 #816CED #B0A3F4 #DED9FA

Accessibility & contrast

On white

3.96
#816CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#816CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CED
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CED#FFFFFF#000000##000000
##816CED1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F1
Deuteranopia (green-blind)
#237CEA
Tritanopia (blue-blind)
#5E88A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #816ced;
/* rgb */ color: rgb(129, 108, 237);
/* oklch */ color: oklch(61.5% 0.187 287.0);
Tailwind
colors: {
  custom: {
    50: '#ac96f4',
    500: '#816ced',
    950: '#000000',
  },
}
SCSS
$custom: #816ced;
$custom-light: #ac96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#816ced",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 249.767,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61543,
    "c": 0.18677,
    "h": 287
  },
  "luminance": 0.21507
}

Semantic roles & 50–950 ramp

primary
#816CED
secondary
#E8EEC6
accent
#DA0BB9
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #816CED

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

Preview Lab → · Contrast checker → · Palette generator →

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