#876CCE#876CCE

#876CCE is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.1% C 0.146 H 294.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#876CCE
RGBrgb(135, 108, 206)
HSLhsl(257, 50%, 62%)
HSVhsv(257, 48%, 81%)
CMYKcmyk(34.5%, 47.6%, 0%, 19.2%)
CIE-LABlab(52.21, 32.60, -47.19)
CIE-LCHlch(52.21, 57.35, 304.64°)
OKLaboklab(60.12% 0.06 -0.133)
OKLCHoklch(60.12% 0.146 294.3)
XYZxyz(26.4920, 20.3318, 60.9092)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CCE #B3CE6C
analogous
#6C82CE #876CCE #B86CCE
triadic
#876CCE #CE876C #6CCE87
tetradic
#876CCE #CE6C82 #B3CE6C #6CCEB8
square
#876CCE #CE6C82 #B3CE6C #6CCEB8
split-complementary
#876CCE #CEB86C #82CE6C
monochromatic
#4A3090 #623FBE #876CCE #AC9ADD #D2C8ED

Accessibility & contrast

On white

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

On black

5.07
#876CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CCE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CCE#FFFFFF#000000##000000
##876CCE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED2
Deuteranopia (green-blind)
#4F7BCC
Tritanopia (blue-blind)
#767F93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #876cce;
/* rgb */ color: rgb(135, 108, 206);
/* oklch */ color: oklch(60.1% 0.146 294.3);
Tailwind
colors: {
  custom: {
    50: '#ad96dd',
    500: '#876cce',
    950: '#000000',
  },
}
SCSS
$custom: #876cce;
$custom-light: #ad96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#876cce",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 256.531,
    "s": 50,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60125,
    "c": 0.14596,
    "h": 294.3
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#876CCE
secondary
#D3DDB9
accent
#BD2894
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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