#876CCF#876CCF

#876CCF is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.2% C 0.147 H 294.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#876CCF
RGBrgb(135, 108, 207)
HSLhsl(256, 51%, 62%)
HSVhsv(256, 48%, 81%)
CMYKcmyk(34.8%, 47.8%, 0%, 18.8%)
CIE-LABlab(52.26, 32.86, -47.67)
CIE-LCHlch(52.26, 57.90, 304.58°)
OKLaboklab(60.18% 0.0601 -0.1345)
OKLCHoklch(60.18% 0.147 294.1)
XYZxyz(26.6138, 20.3805, 61.5510)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CCF #B4CF6C
analogous
#6C83CF #876CCF #B96CCF
triadic
#876CCF #CF876C #6CCF87
tetradic
#876CCF #CF6C83 #B4CF6C #6CCFB9
square
#876CCF #CF6C83 #B4CF6C #6CCFB9
split-complementary
#876CCF #CFB96C #83CF6C
monochromatic
#4A2F91 #623EBF #876CCF #AD9ADE #D2C8ED

Accessibility & contrast

On white

4.14
#876CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#876CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CCF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CCF#FFFFFF#000000##000000
##876CCF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED3
Deuteranopia (green-blind)
#4E7BCD
Tritanopia (blue-blind)
#767F94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #876ccf;
/* rgb */ color: rgb(135, 108, 207);
/* oklch */ color: oklch(60.2% 0.147 294.1);
Tailwind
colors: {
  custom: {
    50: '#ad96de',
    500: '#876ccf',
    950: '#000000',
  },
}
SCSS
$custom: #876ccf;
$custom-light: #ad96de;
$custom-dark: #000000;
JSON
{
  "hex": "#876ccf",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 256.364,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60184,
    "c": 0.14729,
    "h": 294.1
  },
  "luminance": 0.20381
}

Semantic roles & 50–950 ramp

primary
#876CCF
secondary
#D4DEB9
accent
#BE2795
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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