#876CCC#876CCC

#876CCC is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.0% C 0.143 H 294.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#876CCC
RGBrgb(135, 108, 204)
HSLhsl(257, 48%, 61%)
HSVhsv(257, 47%, 80%)
CMYKcmyk(33.8%, 47.1%, 0%, 20%)
CIE-LABlab(52.10, 32.07, -46.22)
CIE-LCHlch(52.10, 56.26, 304.76°)
OKLaboklab(60.01% 0.0598 -0.1302)
OKLCHoklch(60.01% 0.143 294.7)
XYZxyz(26.2506, 20.2352, 59.6378)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CCC #B1CC6C
analogous
#6C81CC #876CCC #B76CCC
triadic
#876CCC #CC876C #6CCC87
tetradic
#876CCC #CC6C81 #B1CC6C #6CCCB7
square
#876CCC #CC6C81 #B1CC6C #6CCCB7
split-complementary
#876CCC #CCB76C #81CC6C
monochromatic
#4B318D #6341BA #876CCC #AC99DC #D1C7EC

Accessibility & contrast

On white

4.16
#876CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#876CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CCC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CCC#FFFFFF#000000##000000
##876CCC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#507BCA
Tritanopia (blue-blind)
#777E92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #876ccc;
/* rgb */ color: rgb(135, 108, 204);
/* oklch */ color: oklch(60.0% 0.143 294.7);
Tailwind
colors: {
  custom: {
    50: '#ad96dc',
    500: '#876ccc',
    950: '#000000',
  },
}
SCSS
$custom: #876ccc;
$custom-light: #ad96dc;
$custom-dark: #000000;
JSON
{
  "hex": "#876ccc",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 256.875,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.14329,
    "h": 294.7
  },
  "luminance": 0.20236
}

Semantic roles & 50–950 ramp

primary
#876CCC
secondary
#D2DCB8
accent
#BC2A93
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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