#876EA2#876EA2

#876EA2 is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.2% C 0.083 H 306.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#876EA2
RGBrgb(135, 110, 162)
HSLhsl(269, 22%, 53%)
HSVhsv(269, 32%, 64%)
CMYKcmyk(16.7%, 32.1%, 0%, 36.5%)
CIE-LABlab(50.58, 20.41, -24.34)
CIE-LCHlch(50.58, 31.76, 309.98°)
OKLaboklab(58.2% 0.0486 -0.067)
OKLCHoklch(58.2% 0.083 306)
XYZxyz(22.0879, 18.9115, 36.6621)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EA2 #89A26E
analogous
#6E6FA2 #876EA2 #A16EA2
triadic
#876EA2 #A2876E #6EA287
tetradic
#876EA2 #A26E6F #89A26E #6EA2A1
square
#876EA2 #A26E6F #89A26E #6EA2A1
split-complementary
#876EA2 #A2A16E #6FA26E
monochromatic
#4A3A5B #695280 #876EA2 #A693BA #C5B9D2

Accessibility & contrast

On white

4.39
#876EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#876EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EA2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EA2#FFFFFF#000000##000000
##876EA21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#6979A0
Tritanopia (blue-blind)
#837581
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #876ea2;
/* rgb */ color: rgb(135, 110, 162);
/* oklch */ color: oklch(58.2% 0.083 306.0);
Tailwind
colors: {
  custom: {
    50: '#aa97bd',
    500: '#876ea2',
    950: '#000000',
  },
}
SCSS
$custom: #876ea2;
$custom-light: #aa97bd;
$custom-dark: #000000;
JSON
{
  "hex": "#876ea2",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 268.846,
    "s": 21.849,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.08275,
    "h": 306
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#876EA2
secondary
#B6C1AB
accent
#BE6996
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #876EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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