#871676#871676

#871676 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.176 H 335.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#871676
RGBrgb(135, 22, 118)
HSLhsl(309, 72%, 31%)
HSVhsv(309, 84%, 53%)
CMYKcmyk(0%, 83.7%, 12.6%, 47.1%)
CIE-LABlab(31.88, 54.79, -26.76)
CIE-LCHlch(31.88, 60.98, 333.97°)
OKLaboklab(43.63% 0.1605 -0.0732)
OKLCHoklch(43.63% 0.176 335.5)
XYZxyz(13.5488, 7.0340, 17.7802)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871676 #168727
analogous
#5F1687 #871676 #87163D
triadic
#871676 #768716 #167687
tetradic
#871676 #875F16 #168727 #163D87
square
#871676 #875F16 #168727 #163D87
split-complementary
#871676 #3D8716 #16875F
monochromatic
#1E051A #520D48 #871676 #BC1FA4 #DF39C6

Accessibility & contrast

On white

8.73
#871676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#871676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871676
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871676#FFFFFF#000000##FFFFFF
##8716761.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#425173
Tritanopia (blue-blind)
#8E2146
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871676;
/* rgb */ color: rgb(135, 22, 118);
/* oklch */ color: oklch(43.6% 0.176 335.5);
Tailwind
colors: {
  custom: {
    50: '#ae639e',
    500: '#871676',
    950: '#000000',
  },
}
SCSS
$custom: #871676;
$custom-light: #ae639e;
$custom-dark: #000000;
JSON
{
  "hex": "#871676",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 309.027,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43633,
    "c": 0.17644,
    "h": 335.5
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#871676
secondary
#3EBB51
accent
#EF5439
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871676

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

Preview Lab → · Contrast checker → · Palette generator →

#871676 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva