#871980#871980

#871980 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.181 H 331.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#871980
RGBrgb(135, 25, 128)
HSLhsl(304, 69%, 31%)
HSVhsv(304, 81%, 53%)
CMYKcmyk(0%, 81.5%, 5.2%, 47.1%)
CIE-LABlab(32.71, 55.56, -31.74)
CIE-LCHlch(32.71, 63.99, 330.26°)
OKLaboklab(44.41% 0.1585 -0.0876)
OKLCHoklch(44.41% 0.181 331.1)
XYZxyz(14.2356, 7.4059, 21.0976)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871980 #198720
analogous
#571987 #871980 #871949
triadic
#871980 #808719 #198087
tetradic
#871980 #875719 #198720 #194987
square
#871980 #875719 #198720 #194987
split-complementary
#871980 #498719 #198757
monochromatic
#20061E #530F4F #871980 #BB23B1 #DB3FD1

Accessibility & contrast

On white

8.46
#871980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#871980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871980
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871980#FFFFFF#000000##FFFFFF
##8719801.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4383
Deuteranopia (green-blind)
#3E527D
Tritanopia (blue-blind)
#8D294D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871980;
/* rgb */ color: rgb(135, 25, 128);
/* oklch */ color: oklch(44.4% 0.181 331.1);
Tailwind
colors: {
  custom: {
    50: '#ae65a5',
    500: '#871980',
    950: '#000000',
  },
}
SCSS
$custom: #871980;
$custom-light: #ae65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#871980",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 303.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44406,
    "c": 0.18109,
    "h": 331.1
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#871980
secondary
#41BA49
accent
#EC473C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #871980

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

Preview Lab → · Contrast checker → · Palette generator →

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