#876A99#876A99

#876A99 is a mid, moderate violet. Relative luminance 0.178; OKLCH L 57.0% C 0.078 H 312.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#876A99
RGBrgb(135, 106, 153)
HSLhsl(277, 19%, 51%)
HSVhsv(277, 31%, 60%)
CMYKcmyk(11.8%, 30.7%, 0%, 40%)
CIE-LABlab(49.20, 20.72, -21.18)
CIE-LCHlch(49.20, 29.63, 314.36°)
OKLaboklab(57.02% 0.0523 -0.058)
OKLCHoklch(57.02% 0.078 312.1)
XYZxyz(20.8945, 17.7592, 32.4580)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876A99 #7C996A
analogous
#6F6A99 #876A99 #996A93
triadic
#876A99 #99876A #6A9987
tetradic
#876A99 #996F6A #7C996A #6A9399
square
#876A99 #996F6A #7C996A #6A9399
split-complementary
#876A99 #93996A #6A996F
monochromatic
#473851 #675075 #876A99 #A48EB2 #C2B3CB

Accessibility & contrast

On white

4.61
#876A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#876A99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #876A99
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876A99#FFFFFF#000000##FFFFFF
##876A991.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62739B
Deuteranopia (green-blind)
#697698
Tritanopia (blue-blind)
#85707B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #876a99;
/* rgb */ color: rgb(135, 106, 153);
/* oklch */ color: oklch(57.0% 0.078 312.1);
Tailwind
colors: {
  custom: {
    50: '#aa95b7',
    500: '#876a99',
    950: '#000000',
  },
}
SCSS
$custom: #876a99;
$custom-light: #aa95b7;
$custom-dark: #000000;
JSON
{
  "hex": "#876a99",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 153
  },
  "hsl": {
    "h": 277.021,
    "s": 18.725,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.07808,
    "h": 312.1
  },
  "luminance": 0.17759
}

Semantic roles & 50–950 ramp

primary
#876A99
secondary
#ADBAA5
accent
#BB6C8B
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #876A99

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

Preview Lab → · Contrast checker → · Palette generator →

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