#876CDE#876CDE

#876CDE is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.1% C 0.167 H 291.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#876CDE
RGBrgb(135, 108, 222)
HSLhsl(254, 63%, 65%)
HSVhsv(254, 51%, 87%)
CMYKcmyk(39.2%, 51.4%, 0%, 12.9%)
CIE-LABlab(53.11, 36.90, -54.82)
CIE-LCHlch(53.11, 66.08, 303.95°)
OKLaboklab(61.09% 0.0615 -0.1554)
OKLCHoklch(61.09% 0.167 291.6)
XYZxyz(28.5355, 21.1492, 71.6718)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CDE #C3DE6C
analogous
#6C8ADE #876CDE #C06CDE
triadic
#876CDE #DE876C #6CDE87
tetradic
#876CDE #DE6C8A #C3DE6C #6CDEC0
square
#876CDE #DE6C8A #C3DE6C #6CDEC0
split-complementary
#876CDE #DEC06C #8ADE6C
monochromatic
#4526AA #5E3AD3 #876CDE #B09EE9 #D9D0F4

Accessibility & contrast

On white

4.02
#876CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#876CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CDE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CDE#FFFFFF#000000##000000
##876CDE1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E2
Deuteranopia (green-blind)
#407DDB
Tritanopia (blue-blind)
#70839B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #876cde;
/* rgb */ color: rgb(135, 108, 222);
/* oklch */ color: oklch(61.1% 0.167 291.6);
Tailwind
colors: {
  custom: {
    50: '#ae96e9',
    500: '#876cde',
    950: '#000000',
  },
}
SCSS
$custom: #876cde;
$custom-light: #ae96e9;
$custom-dark: #000000;
JSON
{
  "hex": "#876cde",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 254.211,
    "s": 63.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61091,
    "c": 0.16712,
    "h": 291.6
  },
  "luminance": 0.2115
}

Semantic roles & 50–950 ramp

primary
#876CDE
secondary
#DDE6BF
accent
#CB1AA1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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