#871C90#871C90

#871C90 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.191 H 324.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#871C90
RGBrgb(135, 28, 144)
HSLhsl(295, 67%, 34%)
HSVhsv(295, 81%, 56%)
CMYKcmyk(6.2%, 80.6%, 0%, 43.5%)
CIE-LABlab(33.97, 57.41, -39.66)
CIE-LCHlch(33.97, 69.78, 325.37°)
OKLaboklab(45.61% 0.1554 -0.1107)
OKLCHoklch(45.61% 0.191 324.5)
XYZxyz(15.4406, 7.9960, 27.1103)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C90 #25901C
analogous
#4D1C90 #871C90 #901C5F
triadic
#871C90 #90871C #1C9087
tetradic
#871C90 #904D1C #25901C #1C5F90
square
#871C90 #904D1C #25901C #1C5F90
split-complementary
#871C90 #5F901C #1C904D
monochromatic
#27082A #57125D #871C90 #B726C3 #D14ADC

Accessibility & contrast

On white

8.08
#871C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#871C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C90
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C90#FFFFFF#000000##FFFFFF
##871C901.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#35548D
Tritanopia (blue-blind)
#8A3356
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #871c90;
/* rgb */ color: rgb(135, 28, 144);
/* oklch */ color: oklch(45.6% 0.191 324.5);
Tailwind
colors: {
  custom: {
    50: '#ae67b1',
    500: '#871c90',
    950: '#000000',
  },
}
SCSS
$custom: #871c90;
$custom-light: #ae67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#871c90",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 295.345,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45614,
    "c": 0.19078,
    "h": 324.5
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#871C90
secondary
#53BE4A
accent
#EA3D4B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #871C90

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

Preview Lab → · Contrast checker → · Palette generator →

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