#876AAA#876AAA

#876AAA is a mid, moderate violet. Relative luminance 0.184; OKLCH L 57.8% C 0.101 H 304.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#876AAA
RGBrgb(135, 106, 170)
HSLhsl(267, 27%, 54%)
HSVhsv(267, 38%, 67%)
CMYKcmyk(20.6%, 37.6%, 0%, 33.3%)
CIE-LABlab(49.93, 24.66, -30.02)
CIE-LCHlch(49.93, 38.85, 309.39°)
OKLaboklab(57.82% 0.0567 -0.0832)
OKLCHoklch(57.82% 0.101 304.3)
XYZxyz(22.3999, 18.3613, 40.3864)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AAA #8DAA6A
analogous
#6A6DAA #876AAA #A76AAA
triadic
#876AAA #AA876A #6AAA87
tetradic
#876AAA #AA6A6D #8DAA6A #6AAAA7
square
#876AAA #AA6A6D #8DAA6A #6AAAA7
split-complementary
#876AAA #AAA76A #6DAA6A
monochromatic
#4B3862 #694E89 #876AAA #A691C0 #C6B8D6

Accessibility & contrast

On white

4.49
#876AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#876AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AAA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AAA#FFFFFF#000000##000000
##876AAA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AC
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#817482
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #876aaa;
/* rgb */ color: rgb(135, 106, 170);
/* oklch */ color: oklch(57.8% 0.101 304.3);
Tailwind
colors: {
  custom: {
    50: '#ab95c3',
    500: '#876aaa',
    950: '#000000',
  },
}
SCSS
$custom: #876aaa;
$custom-light: #ab95c3;
$custom-dark: #000000;
JSON
{
  "hex": "#876aaa",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 267.188,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.10069,
    "h": 304.3
  },
  "luminance": 0.18361
}

Semantic roles & 50–950 ramp

primary
#876AAA
secondary
#B9C6AA
accent
#C46498
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #876AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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