#876CEE#876CEE

#876CEE is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.1% C 0.188 H 289.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#876CEE
RGBrgb(135, 108, 238)
HSLhsl(252, 79%, 68%)
HSVhsv(252, 55%, 93%)
CMYKcmyk(43.3%, 54.6%, 0%, 6.7%)
CIE-LABlab(54.08, 41.31, -62.25)
CIE-LCHlch(54.08, 74.70, 303.57°)
OKLaboklab(62.12% 0.0622 -0.1772)
OKLCHoklch(62.12% 0.188 289.3)
XYZxyz(30.7825, 22.0480, 83.5061)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CEE #D3EE6C
analogous
#6C92EE #876CEE #C86CEE
triadic
#876CEE #EE876C #6CEE87
tetradic
#876CEE #EE6C92 #D3EE6C #6CEEC8
square
#876CEE #EE6C92 #D3EE6C #6CEEC8
split-complementary
#876CEE #EEC86C #92EE6C
monochromatic
#3C17C8 #5A35E8 #876CEE #B4A3F4 #E1DAFB

Accessibility & contrast

On white

3.88
#876CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#876CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CEE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CEE#FFFFFF#000000##000000
##876CEE1.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)
#2684F2
Deuteranopia (green-blind)
#2A7EEB
Tritanopia (blue-blind)
#6888A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #876cee;
/* rgb */ color: rgb(135, 108, 238);
/* oklch */ color: oklch(62.1% 0.188 289.3);
Tailwind
colors: {
  custom: {
    50: '#b097f4',
    500: '#876cee',
    950: '#000000',
  },
}
SCSS
$custom: #876cee;
$custom-light: #b097f4;
$custom-dark: #000000;
JSON
{
  "hex": "#876cee",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 252.462,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62118,
    "c": 0.18781,
    "h": 289.3
  },
  "luminance": 0.22049
}

Semantic roles & 50–950 ramp

primary
#876CEE
secondary
#E7EFC7
accent
#DC0AB0
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #876CEE

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

Preview Lab → · Contrast checker → · Palette generator →

#876CEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva