#876B9D#876B9D

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

Color values

HEX#876B9D
RGBrgb(135, 107, 157)
HSLhsl(274, 20%, 52%)
HSVhsv(274, 32%, 62%)
CMYKcmyk(14%, 31.8%, 0%, 38.4%)
CIE-LABlab(49.62, 21.03, -22.90)
CIE-LCHlch(49.62, 31.09, 312.56°)
OKLaboklab(57.4% 0.0519 -0.0628)
OKLCHoklch(57.4% 0.081 309.5)
XYZxyz(21.3341, 18.1008, 34.2617)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876B9D #819D6B
analogous
#6E6B9D #876B9D #9D6B9A
triadic
#876B9D #9D876B #6B9D87
tetradic
#876B9D #9D6E6B #819D6B #6B9A9D
square
#876B9D #9D6E6B #819D6B #6B9A9D
split-complementary
#876B9D #9A9D6B #6B9D6E
monochromatic
#493855 #68517A #876B9D #A590B5 #C3B5CE

Accessibility & contrast

On white

4.55
#876B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##876B9D#FFFFFF#000000##000000
##876B9D1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#62759F
Deuteranopia (green-blind)
#68769C
Tritanopia (blue-blind)
#84727D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #876b9d;
/* rgb */ color: rgb(135, 107, 157);
/* oklch */ color: oklch(57.4% 0.081 309.5);
Tailwind
colors: {
  custom: {
    50: '#aa95ba',
    500: '#876b9d',
    950: '#000000',
  },
}
SCSS
$custom: #876b9d;
$custom-light: #aa95ba;
$custom-dark: #000000;
JSON
{
  "hex": "#876b9d",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 157
  },
  "hsl": {
    "h": 273.6,
    "s": 20.325,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.08148,
    "h": 309.5
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#876B9D
secondary
#B1BDA7
accent
#BD6B8F
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #876B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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