#871C91#871C91

#871C91 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.192 H 324.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#871C91
RGBrgb(135, 28, 145)
HSLhsl(295, 68%, 34%)
HSVhsv(295, 81%, 57%)
CMYKcmyk(6.9%, 80.7%, 0%, 43.1%)
CIE-LABlab(34.04, 57.59, -40.17)
CIE-LCHlch(34.04, 70.22, 325.10°)
OKLaboklab(45.68% 0.1553 -0.1122)
OKLCHoklch(45.68% 0.192 324.2)
XYZxyz(15.5173, 8.0267, 27.5146)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C91 #26911C
analogous
#4D1C91 #871C91 #911C61
triadic
#871C91 #91871C #1C9187
tetradic
#871C91 #914D1C #26911C #1C6191
square
#871C91 #914D1C #26911C #1C6191
split-complementary
#871C91 #61911C #1C914D
monochromatic
#27082A #57125E #871C91 #B726C4 #D04BDC

Accessibility & contrast

On white

8.06
#871C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#871C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C91
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C91#FFFFFF#000000##FFFFFF
##871C911.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#8A3357
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #871c91;
/* rgb */ color: rgb(135, 28, 145);
/* oklch */ color: oklch(45.7% 0.192 324.2);
Tailwind
colors: {
  custom: {
    50: '#ae67b2',
    500: '#871c91',
    950: '#000000',
  },
}
SCSS
$custom: #871c91;
$custom-light: #ae67b2;
$custom-dark: #000000;
JSON
{
  "hex": "#871c91",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 294.872,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4568,
    "c": 0.19159,
    "h": 324.2
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#871C91
secondary
#54BE4A
accent
#EB3D4C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #871C91

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

Preview Lab → · Contrast checker → · Palette generator →

#871C91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva