#876B97#876B97

#876B97 is a mid, moderate violet. Relative luminance 0.179; OKLCH L 57.1% C 0.074 H 312.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#876B97
RGBrgb(135, 107, 151)
HSLhsl(278, 17%, 51%)
HSVhsv(278, 29%, 59%)
CMYKcmyk(10.6%, 29.1%, 0%, 40.8%)
CIE-LABlab(49.38, 19.68, -19.74)
CIE-LCHlch(49.38, 27.88, 314.92°)
OKLaboklab(57.13% 0.0501 -0.0539)
OKLCHoklch(57.13% 0.074 312.9)
XYZxyz(20.8344, 17.9009, 31.6298)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876B97 #7B976B
analogous
#716B97 #876B97 #976B91
triadic
#876B97 #97876B #6B9787
tetradic
#876B97 #97716B #7B976B #6B9197
square
#876B97 #97716B #7B976B #6B9197
split-complementary
#876B97 #91976B #6B9771
monochromatic
#473850 #675174 #876B97 #A48FB0 #C1B3CA

Accessibility & contrast

On white

4.58
#876B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#876B97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876B97
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876B97#FFFFFF#000000##000000
##876B971.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647499
Deuteranopia (green-blind)
#6A7696
Tritanopia (blue-blind)
#86707B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #876b97;
/* rgb */ color: rgb(135, 107, 151);
/* oklch */ color: oklch(57.1% 0.074 312.9);
Tailwind
colors: {
  custom: {
    50: '#aa95b5',
    500: '#876b97',
    950: '#000000',
  },
}
SCSS
$custom: #876b97;
$custom-light: #aa95b5;
$custom-dark: #000000;
JSON
{
  "hex": "#876b97",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 151
  },
  "hsl": {
    "h": 278.182,
    "s": 17.46,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.07362,
    "h": 312.9
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#876B97
secondary
#ACB9A5
accent
#BA6E89
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #876B97

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

Preview Lab → · Contrast checker → · Palette generator →

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