#876AA7#876AA7

#876AA7 is a mid, moderate violet. Relative luminance 0.182; OKLCH L 57.7% C 0.097 H 305.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#876AA7
RGBrgb(135, 106, 167)
HSLhsl(269, 26%, 54%)
HSVhsv(269, 37%, 65%)
CMYKcmyk(19.2%, 36.5%, 0%, 34.5%)
CIE-LABlab(49.80, 23.94, -28.48)
CIE-LCHlch(49.80, 37.21, 310.05°)
OKLaboklab(57.67% 0.056 -0.0788)
OKLCHoklch(57.67% 0.097 305.4)
XYZxyz(22.1194, 18.2491, 38.9089)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AA7 #8AA76A
analogous
#6A6BA7 #876AA7 #A56AA7
triadic
#876AA7 #A7876A #6AA787
tetradic
#876AA7 #A76A6B #8AA76A #6AA7A5
square
#876AA7 #A76A6B #8AA76A #6AA7A5
split-complementary
#876AA7 #A7A56A #6BA76A
monochromatic
#4A385F #694F85 #876AA7 #A690BE #C5B7D4

Accessibility & contrast

On white

4.52
#876AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#876AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AA7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AA7#FFFFFF#000000##000000
##876AA71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A9
Deuteranopia (green-blind)
#6377A5
Tritanopia (blue-blind)
#827381
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #876aa7;
/* rgb */ color: rgb(135, 106, 167);
/* oklch */ color: oklch(57.7% 0.097 305.4);
Tailwind
colors: {
  custom: {
    50: '#ab95c1',
    500: '#876aa7',
    950: '#000000',
  },
}
SCSS
$custom: #876aa7;
$custom-light: #ab95c1;
$custom-dark: #000000;
JSON
{
  "hex": "#876aa7",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 167
  },
  "hsl": {
    "h": 268.525,
    "s": 25.738,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57673,
    "c": 0.09665,
    "h": 305.4
  },
  "luminance": 0.18249
}

Semantic roles & 50–950 ramp

primary
#876AA7
secondary
#B7C3A9
accent
#C26696
background
#FAF9FB
surface
#F4F1F7
border
#CECBD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #876AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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