#876BC2#876BC2

#876BC2 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.3% C 0.131 H 297.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#876BC2
RGBrgb(135, 107, 194)
HSLhsl(259, 42%, 59%)
HSVhsv(259, 45%, 76%)
CMYKcmyk(30.4%, 44.8%, 0%, 23.9%)
CIE-LABlab(51.34, 30.05, -41.71)
CIE-LCHlch(51.34, 51.40, 305.77°)
OKLaboklab(59.26% 0.0598 -0.117)
OKLCHoklch(59.26% 0.131 297.1)
XYZxyz(24.9846, 19.5610, 53.4878)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BC2 #A6C26B
analogous
#6B7BC2 #876BC2 #B36BC2
triadic
#876BC2 #C2876B #6BC287
tetradic
#876BC2 #C26B7B #A6C26B #6BC2B3
square
#876BC2 #C26B7B #A6C26B #6BC2B3
split-complementary
#876BC2 #C2B36B #7BC26B
monochromatic
#4C347E #6646AA #876BC2 #AA96D4 #CDC2E6

Accessibility & contrast

On white

4.28
#876BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#876BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BC2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BC2#FFFFFF#000000##000000
##876BC21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#507BC5
Deuteranopia (green-blind)
#5679C0
Tritanopia (blue-blind)
#7B7B8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #876bc2;
/* rgb */ color: rgb(135, 107, 194);
/* oklch */ color: oklch(59.3% 0.131 297.1);
Tailwind
colors: {
  custom: {
    50: '#ac96d5',
    500: '#876bc2',
    950: '#000000',
  },
}
SCSS
$custom: #876bc2;
$custom-light: #ac96d5;
$custom-dark: #000000;
JSON
{
  "hex": "#876bc2",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 259.31,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59262,
    "c": 0.13143,
    "h": 297.1
  },
  "luminance": 0.19561
}

Semantic roles & 50–950 ramp

primary
#876BC2
secondary
#CAD5B3
accent
#D156AA
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #876BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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