#871880#871880

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

Color values

HEX#871880
RGBrgb(135, 24, 128)
HSLhsl(304, 70%, 31%)
HSVhsv(304, 82%, 53%)
CMYKcmyk(0%, 82.2%, 5.2%, 47.1%)
CIE-LABlab(32.62, 55.83, -31.89)
CIE-LCHlch(32.62, 64.29, 330.26°)
OKLaboklab(44.34% 0.1593 -0.088)
OKLCHoklch(44.34% 0.182 331.1)
XYZxyz(14.2146, 7.3639, 21.0906)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871880 #18871F
analogous
#561887 #871880 #871848
triadic
#871880 #808718 #188087
tetradic
#871880 #875618 #18871F #184887
square
#871880 #875618 #18871F #184887
split-complementary
#871880 #488718 #188756
monochromatic
#1F061D #530F4F #871880 #BB21B1 #DC3DD2

Accessibility & contrast

On white

8.49
#871880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#871880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871880
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871880#FFFFFF#000000##FFFFFF
##8718801.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084383
Deuteranopia (green-blind)
#3E527D
Tritanopia (blue-blind)
#8D284C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871880;
/* rgb */ color: rgb(135, 24, 128);
/* oklch */ color: oklch(44.3% 0.182 331.1);
Tailwind
colors: {
  custom: {
    50: '#ae65a5',
    500: '#871880',
    950: '#000000',
  },
}
SCSS
$custom: #871880;
$custom-light: #ae65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#871880",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 303.784,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4434,
    "c": 0.18197,
    "h": 331.1
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#871880
secondary
#40BB48
accent
#ED463B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #871880

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

Preview Lab → · Contrast checker → · Palette generator →

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