#871F79#871F79

#871F79 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.170 H 334.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#871F79
RGBrgb(135, 31, 121)
HSLhsl(308, 63%, 33%)
HSVhsv(308, 77%, 53%)
CMYKcmyk(0%, 77%, 10.4%, 47.1%)
CIE-LABlab(32.95, 52.66, -26.98)
CIE-LCHlch(32.95, 59.17, 332.87°)
OKLaboklab(44.45% 0.153 -0.0739)
OKLCHoklch(44.45% 0.17 334.2)
XYZxyz(13.9330, 7.5126, 18.8017)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F79 #1F872D
analogous
#611F87 #871F79 #871F45
triadic
#871F79 #79871F #1F7987
tetradic
#871F79 #87611F #1F872D #1F4587
square
#871F79 #87611F #1F872D #1F4587
split-complementary
#871F79 #45871F #1F8761
monochromatic
#230820 #55144C #871F79 #B92AA6 #D64BC3

Accessibility & contrast

On white

8.39
#871F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#871F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F79
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F79#FFFFFF#000000##FFFFFF
##871F791.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#445377
Tritanopia (blue-blind)
#8E294A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871f79;
/* rgb */ color: rgb(135, 31, 121);
/* oklch */ color: oklch(44.4% 0.170 334.2);
Tailwind
colors: {
  custom: {
    50: '#ad67a0',
    500: '#871f79',
    950: '#000000',
  },
}
SCSS
$custom: #871f79;
$custom-light: #ad67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#871f79",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 308.077,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44447,
    "c": 0.16995,
    "h": 334.2
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#871F79
secondary
#4AB858
accent
#E65842
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #871F79

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

Preview Lab → · Contrast checker → · Palette generator →

#871F79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva