#871985#871985

#871985 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.185 H 329.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#871985
RGBrgb(135, 25, 133)
HSLhsl(301, 69%, 31%)
HSVhsv(301, 81%, 53%)
CMYKcmyk(0%, 81.5%, 1.5%, 47.1%)
CIE-LABlab(33.01, 56.37, -34.40)
CIE-LCHlch(33.01, 66.04, 328.61°)
OKLaboklab(44.71% 0.1584 -0.0953)
OKLCHoklch(44.71% 0.185 329)
XYZxyz(14.5728, 7.5407, 22.8737)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871985 #19871B
analogous
#521987 #871985 #87194E
triadic
#871985 #858719 #198587
tetradic
#871985 #875219 #19871B #194E87
square
#871985 #875219 #19871B #194E87
split-complementary
#871985 #4E8719 #198752
monochromatic
#20061F #530F52 #871985 #BB23B8 #DB3FD9

Accessibility & contrast

On white

8.37
#871985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#871985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871985
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871985#FFFFFF#000000##FFFFFF
##8719851.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#3B5382
Tritanopia (blue-blind)
#8C2C4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871985;
/* rgb */ color: rgb(135, 25, 133);
/* oklch */ color: oklch(44.7% 0.185 329.0);
Tailwind
colors: {
  custom: {
    50: '#ae65a9',
    500: '#871985',
    950: '#000000',
  },
}
SCSS
$custom: #871985;
$custom-light: #ae65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#871985",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 301.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.18486,
    "h": 329
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#871985
secondary
#41BA44
accent
#EC3F3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871985

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

Preview Lab → · Contrast checker → · Palette generator →

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