#876C97#876C97

#876C97 is a mid, moderate violet. Relative luminance 0.181; OKLCH L 57.3% C 0.072 H 312.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#876C97
RGBrgb(135, 108, 151)
HSLhsl(278, 17%, 51%)
HSVhsv(278, 28%, 59%)
CMYKcmyk(10.6%, 28.5%, 0%, 40.8%)
CIE-LABlab(49.63, 19.09, -19.35)
CIE-LCHlch(49.63, 27.18, 314.61°)
OKLaboklab(57.33% 0.0486 -0.0528)
OKLCHoklch(57.33% 0.072 312.6)
XYZxyz(20.9392, 18.1107, 31.6648)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876C97 #7C976C
analogous
#716C97 #876C97 #976C91
triadic
#876C97 #97876C #6C9787
tetradic
#876C97 #97716C #7C976C #6C9197
square
#876C97 #97716C #7C976C #6C9197
split-complementary
#876C97 #91976C #6C9771
monochromatic
#473950 #675274 #876C97 #A490B0 #C2B4CA

Accessibility & contrast

On white

4.54
#876C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#876C97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876C97
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876C97#FFFFFF#000000##000000
##876C971.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#657599
Deuteranopia (green-blind)
#6B7796
Tritanopia (blue-blind)
#86717B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #876c97;
/* rgb */ color: rgb(135, 108, 151);
/* oklch */ color: oklch(57.3% 0.072 312.6);
Tailwind
colors: {
  custom: {
    50: '#aa96b5',
    500: '#876c97',
    950: '#000000',
  },
}
SCSS
$custom: #876c97;
$custom-light: #aa96b5;
$custom-dark: #000000;
JSON
{
  "hex": "#876c97",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 151
  },
  "hsl": {
    "h": 277.674,
    "s": 17.131,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.07174,
    "h": 312.6
  },
  "luminance": 0.1811
}

Semantic roles & 50–950 ramp

primary
#876C97
secondary
#ADB9A6
accent
#BA6E8A
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #876C97

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

Preview Lab → · Contrast checker → · Palette generator →

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