#876ECD#876ECD

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

Color values

HEX#876ECD
RGBrgb(135, 110, 205)
HSLhsl(256, 49%, 62%)
HSVhsv(256, 46%, 80%)
CMYKcmyk(34.1%, 46.3%, 0%, 19.6%)
CIE-LABlab(52.63, 31.17, -45.95)
CIE-LCHlch(52.63, 55.52, 304.15°)
OKLaboklab(60.42% 0.0572 -0.1294)
OKLCHoklch(60.42% 0.142 293.9)
XYZxyz(26.5842, 20.7100, 60.3426)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876ECD #B4CD6E
analogous
#6E85CD #876ECD #B66ECD
triadic
#876ECD #CD876E #6ECD87
tetradic
#876ECD #CD6E85 #B4CD6E #6ECDB6
square
#876ECD #CD6E85 #B4CD6E #6ECDB6
split-complementary
#876ECD #CDB66E #85CD6E
monochromatic
#4A318F #6241BD #876ECD #AD9CDD #D2C9EC

Accessibility & contrast

On white

4.08
#876ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##876ECD#FFFFFF#000000##000000
##876ECD1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD0
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#778094
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #876ecd;
/* rgb */ color: rgb(135, 110, 205);
/* oklch */ color: oklch(60.4% 0.142 293.9);
Tailwind
colors: {
  custom: {
    50: '#ad98dd',
    500: '#876ecd',
    950: '#000000',
  },
}
SCSS
$custom: #876ecd;
$custom-light: #ad98dd;
$custom-dark: #000000;
JSON
{
  "hex": "#876ecd",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 255.789,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.14152,
    "h": 293.9
  },
  "luminance": 0.20711
}

Semantic roles & 50–950 ramp

primary
#876ECD
secondary
#D4DDBA
accent
#BC2995
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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