#876BB8#876BB8

#876BB8 is a mid, moderate violet. Relative luminance 0.191; OKLCH L 58.7% C 0.118 H 299.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#876BB8
RGBrgb(135, 107, 184)
HSLhsl(262, 35%, 57%)
HSVhsv(262, 42%, 72%)
CMYKcmyk(26.6%, 41.8%, 0%, 27.8%)
CIE-LABlab(50.84, 27.50, -36.74)
CIE-LCHlch(50.84, 45.89, 306.82°)
OKLaboklab(58.72% 0.0581 -0.1026)
OKLCHoklch(58.72% 0.118 299.5)
XYZxyz(23.8991, 19.1268, 47.7709)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BB8 #9CB86B
analogous
#6B76B8 #876BB8 #AE6BB8
triadic
#876BB8 #B8876B #6BB887
tetradic
#876BB8 #B86B76 #9CB86B #6BB8AE
square
#876BB8 #B86B76 #9CB86B #6BB8AE
split-complementary
#876BB8 #B8AE6B #76B86B
monochromatic
#4C3772 #684B9B #876BB8 #A994CC #CABEE0

Accessibility & contrast

On white

4.35
#876BB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#876BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BB8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BB8#FFFFFF#000000##000000
##876BB81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5679BB
Deuteranopia (green-blind)
#5C78B6
Tritanopia (blue-blind)
#7E7889
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #876bb8;
/* rgb */ color: rgb(135, 107, 184);
/* oklch */ color: oklch(58.7% 0.118 299.5);
Tailwind
colors: {
  custom: {
    50: '#ac95cd',
    500: '#876bb8',
    950: '#000000',
  },
}
SCSS
$custom: #876bb8;
$custom-light: #ac95cd;
$custom-dark: #000000;
JSON
{
  "hex": "#876bb8",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 184
  },
  "hsl": {
    "h": 261.818,
    "s": 35.16,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.11791,
    "h": 299.5
  },
  "luminance": 0.19127
}

Semantic roles & 50–950 ramp

primary
#876BB8
secondary
#C4CFB0
accent
#CB5DA3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #876BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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