#876B9B#876B9B

#876B9B is a mid, moderate violet. Relative luminance 0.180; OKLCH L 57.3% C 0.079 H 310.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#876B9B
RGBrgb(135, 107, 155)
HSLhsl(275, 19%, 51%)
HSVhsv(275, 31%, 61%)
CMYKcmyk(12.9%, 31%, 0%, 39.2%)
CIE-LABlab(49.54, 20.58, -21.85)
CIE-LCHlch(49.54, 30.01, 313.28°)
OKLaboklab(57.31% 0.0513 -0.0599)
OKLCHoklch(57.31% 0.079 310.6)
XYZxyz(21.1647, 18.0331, 33.3698)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876B9B #7F9B6B
analogous
#6F6B9B #876B9B #9B6B97
triadic
#876B9B #9B876B #6B9B87
tetradic
#876B9B #9B6F6B #7F9B6B #6B979B
square
#876B9B #9B6F6B #7F9B6B #6B979B
split-complementary
#876B9B #979B6B #6B9B6F
monochromatic
#483853 #685178 #876B9B #A590B4 #C2B4CC

Accessibility & contrast

On white

4.56
#876B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#876B9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876B9B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876B9B#FFFFFF#000000##000000
##876B9B1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#63749D
Deuteranopia (green-blind)
#69769A
Tritanopia (blue-blind)
#85717C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #876b9b;
/* rgb */ color: rgb(135, 107, 155);
/* oklch */ color: oklch(57.3% 0.079 310.6);
Tailwind
colors: {
  custom: {
    50: '#aa95b8',
    500: '#876b9b',
    950: '#000000',
  },
}
SCSS
$custom: #876b9b;
$custom-light: #aa95b8;
$custom-dark: #000000;
JSON
{
  "hex": "#876b9b",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 155
  },
  "hsl": {
    "h": 275,
    "s": 19.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.07884,
    "h": 310.6
  },
  "luminance": 0.18033
}

Semantic roles & 50–950 ramp

primary
#876B9B
secondary
#AFBBA6
accent
#BC6C8D
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #876B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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