#876DCE#876DCE

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

Color values

HEX#876DCE
RGBrgb(135, 109, 206)
HSLhsl(256, 50%, 62%)
HSVhsv(256, 47%, 81%)
CMYKcmyk(34.5%, 47.1%, 0%, 19.2%)
CIE-LABlab(52.45, 32.02, -46.81)
CIE-LCHlch(52.45, 56.71, 304.37°)
OKLaboklab(60.3% 0.0587 -0.132)
OKLCHoklch(60.3% 0.144 294)
XYZxyz(26.5980, 20.5439, 60.9446)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876DCE #B4CE6D
analogous
#6D84CE #876DCE #B76DCE
triadic
#876DCE #CE876D #6DCE87
tetradic
#876DCE #CE6D84 #B4CE6D #6DCEB7
square
#876DCE #CE6D84 #B4CE6D #6DCEB7
split-complementary
#876DCE #CEB76D #84CE6D
monochromatic
#4A3090 #6240BE #876DCE #AD9BDD #D2C9ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876DCE#FFFFFF#000000##000000
##876DCE1.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)
#4C7ED1
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#768094
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #876dce;
/* rgb */ color: rgb(135, 109, 206);
/* oklch */ color: oklch(60.3% 0.144 294.0);
Tailwind
colors: {
  custom: {
    50: '#ad97dd',
    500: '#876dce',
    950: '#000000',
  },
}
SCSS
$custom: #876dce;
$custom-light: #ad97dd;
$custom-dark: #000000;
JSON
{
  "hex": "#876dce",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 206
  },
  "hsl": {
    "h": 256.082,
    "s": 49.744,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60302,
    "c": 0.14442,
    "h": 294
  },
  "luminance": 0.20544
}

Semantic roles & 50–950 ramp

primary
#876DCE
secondary
#D4DDB9
accent
#BD2895
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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