#876CD2#876CD2

#876CD2 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.4% C 0.151 H 293.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#876CD2
RGBrgb(135, 108, 210)
HSLhsl(256, 53%, 62%)
HSVhsv(256, 49%, 82%)
CMYKcmyk(35.7%, 48.6%, 0%, 17.6%)
CIE-LABlab(52.43, 33.66, -49.12)
CIE-LCHlch(52.43, 59.54, 304.43°)
OKLaboklab(60.36% 0.0605 -0.1387)
OKLCHoklch(60.36% 0.151 293.6)
XYZxyz(26.9841, 20.5286, 63.5010)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CD2 #B7D26C
analogous
#6C84D2 #876CD2 #BA6CD2
triadic
#876CD2 #D2876C #6CD287
tetradic
#876CD2 #D26C84 #B7D26C #6CD2BA
square
#876CD2 #D26C84 #B7D26C #6CD2BA
split-complementary
#876CD2 #D2BA6C #84D26C
monochromatic
#492E96 #613DC4 #876CD2 #AD9BE0 #D3CAEF

Accessibility & contrast

On white

4.11
#876CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#876CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CD2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CD2#FFFFFF#000000##000000
##876CD21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ED6
Deuteranopia (green-blind)
#4B7BD0
Tritanopia (blue-blind)
#758095
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #876cd2;
/* rgb */ color: rgb(135, 108, 210);
/* oklch */ color: oklch(60.4% 0.151 293.6);
Tailwind
colors: {
  custom: {
    50: '#ad96e0',
    500: '#876cd2',
    950: '#000000',
  },
}
SCSS
$custom: #876cd2;
$custom-light: #ad96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#876cd2",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 255.882,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.15128,
    "h": 293.6
  },
  "luminance": 0.20529
}

Semantic roles & 50–950 ramp

primary
#876CD2
secondary
#D6E0BA
accent
#C12597
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #876CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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