#876CDA#876CDA

#876CDA is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.8% C 0.162 H 292.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#876CDA
RGBrgb(135, 108, 218)
HSLhsl(255, 60%, 64%)
HSVhsv(255, 50%, 85%)
CMYKcmyk(38.1%, 50.5%, 0%, 14.5%)
CIE-LABlab(52.88, 35.82, -52.93)
CIE-LCHlch(52.88, 63.91, 304.08°)
OKLaboklab(60.84% 0.0612 -0.1499)
OKLCHoklch(60.84% 0.162 292.2)
XYZxyz(28.0058, 20.9373, 68.8818)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CDA #BFDA6C
analogous
#6C88DA #876CDA #BE6CDA
triadic
#876CDA #DA876C #6CDA87
tetradic
#876CDA #DA6C88 #BFDA6C #6CDABE
square
#876CDA #DA6C88 #BFDA6C #6CDABE
split-complementary
#876CDA #DABE6C #88DA6C
monochromatic
#4729A3 #5F3BCE #876CDA #AF9DE6 #D7CEF3

Accessibility & contrast

On white

4.05
#876CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#876CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CDA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CDA#FFFFFF#000000##000000
##876CDA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DE
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#728299
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #876cda;
/* rgb */ color: rgb(135, 108, 218);
/* oklch */ color: oklch(60.8% 0.162 292.2);
Tailwind
colors: {
  custom: {
    50: '#ae96e6',
    500: '#876cda',
    950: '#000000',
  },
}
SCSS
$custom: #876cda;
$custom-light: #ae96e6;
$custom-dark: #000000;
JSON
{
  "hex": "#876cda",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 254.727,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60844,
    "c": 0.16187,
    "h": 292.2
  },
  "luminance": 0.20938
}

Semantic roles & 50–950 ramp

primary
#876CDA
secondary
#DBE4BE
accent
#C71E9E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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