#871479#871479

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

Color values

HEX#871479
RGBrgb(135, 20, 121)
HSLhsl(307, 74%, 30%)
HSVhsv(307, 85%, 53%)
CMYKcmyk(0%, 85.2%, 10.4%, 47.1%)
CIE-LABlab(31.88, 55.73, -28.66)
CIE-LCHlch(31.88, 62.67, 332.78°)
OKLaboklab(43.69% 0.1621 -0.0787)
OKLCHoklch(43.69% 0.18 334.1)
XYZxyz(13.6932, 7.0329, 18.7218)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871479 #148722
analogous
#5B1487 #871479 #871440
triadic
#871479 #798714 #147987
tetradic
#871479 #875B14 #148722 #144087
square
#871479 #875B14 #148722 #144087
split-complementary
#871479 #408714 #14875B
monochromatic
#1C0419 #520C49 #871479 #BC1CA9 #E134CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871479#FFFFFF#000000##FFFFFF
##8714791.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)
#10417C
Deuteranopia (green-blind)
#405176
Tritanopia (blue-blind)
#8E2248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871479;
/* rgb */ color: rgb(135, 20, 121);
/* oklch */ color: oklch(43.7% 0.180 334.1);
Tailwind
colors: {
  custom: {
    50: '#ae63a0',
    500: '#871479',
    950: '#000000',
  },
}
SCSS
$custom: #871479;
$custom-light: #ae63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#871479",
  "rgb": {
    "r": 135,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 307.304,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.18017,
    "h": 334.1
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#871479
secondary
#3BBB4B
accent
#F14E37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871479

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

Preview Lab → · Contrast checker → · Palette generator →

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