#871885#871885

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

Color values

HEX#871885
RGBrgb(135, 24, 133)
HSLhsl(301, 70%, 31%)
HSVhsv(301, 82%, 53%)
CMYKcmyk(0%, 82.2%, 1.5%, 47.1%)
CIE-LABlab(32.92, 56.64, -34.54)
CIE-LCHlch(32.92, 66.34, 328.62°)
OKLaboklab(44.65% 0.1592 -0.0957)
OKLCHoklch(44.65% 0.186 329)
XYZxyz(14.5518, 7.4988, 22.8667)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871885 #18871A
analogous
#511887 #871885 #87184D
triadic
#871885 #858718 #188587
tetradic
#871885 #875118 #18871A #184D87
square
#871885 #875118 #18871A #184D87
split-complementary
#871885 #4D8718 #188751
monochromatic
#1F061F #530F52 #871885 #BB21B8 #DC3DDA

Accessibility & contrast

On white

8.40
#871885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#871885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871885
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871885#FFFFFF#000000##FFFFFF
##8718851.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#8C2B4F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871885;
/* rgb */ color: rgb(135, 24, 133);
/* oklch */ color: oklch(44.6% 0.186 329.0);
Tailwind
colors: {
  custom: {
    50: '#ae65a9',
    500: '#871885',
    950: '#000000',
  },
}
SCSS
$custom: #871885;
$custom-light: #ae65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#871885",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 301.081,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44645,
    "c": 0.18572,
    "h": 329
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#871885
secondary
#40BB42
accent
#ED3E3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871885

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

Preview Lab → · Contrast checker → · Palette generator →

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