#876CD5#876CD5

#876CD5 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.5% C 0.155 H 293.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#876CD5
RGBrgb(135, 108, 213)
HSLhsl(255, 56%, 63%)
HSVhsv(255, 49%, 84%)
CMYKcmyk(36.6%, 49.3%, 0%, 16.5%)
CIE-LABlab(52.60, 34.47, -50.55)
CIE-LCHlch(52.60, 61.18, 304.29°)
OKLaboklab(60.54% 0.0608 -0.1429)
OKLCHoklch(60.54% 0.155 293)
XYZxyz(27.3613, 20.6795, 65.4879)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CD5 #BAD56C
analogous
#6C85D5 #876CD5 #BC6CD5
triadic
#876CD5 #D5876C #6CD587
tetradic
#876CD5 #D56C85 #BAD56C #6CD5BC
square
#876CD5 #D56C85 #BAD56C #6CD5BC
split-complementary
#876CD5 #D5BC6C #85D56C
monochromatic
#492C9A #603CC7 #876CD5 #AE9CE3 #D5CBF0

Accessibility & contrast

On white

4.09
#876CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#876CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CD5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CD5#FFFFFF#000000##000000
##876CD51.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#447FD9
Deuteranopia (green-blind)
#497CD3
Tritanopia (blue-blind)
#748196
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #876cd5;
/* rgb */ color: rgb(135, 108, 213);
/* oklch */ color: oklch(60.5% 0.155 293.0);
Tailwind
colors: {
  custom: {
    50: '#ae96e2',
    500: '#876cd5',
    950: '#000000',
  },
}
SCSS
$custom: #876cd5;
$custom-light: #ae96e2;
$custom-dark: #000000;
JSON
{
  "hex": "#876cd5",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 255.429,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6054,
    "c": 0.15527,
    "h": 293
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

primary
#876CD5
secondary
#D8E1BB
accent
#C3229A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #876CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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