#871DA0#871DA0

#871DA0 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.8% C 0.203 H 318.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#871DA0
RGBrgb(135, 29, 160)
HSLhsl(289, 69%, 37%)
HSVhsv(289, 82%, 63%)
CMYKcmyk(15.6%, 81.9%, 0%, 37.3%)
CIE-LABlab(35.14, 60.04, -47.54)
CIE-LCHlch(35.14, 76.58, 321.62°)
OKLaboklab(46.78% 0.1526 -0.1338)
OKLCHoklch(46.78% 0.203 318.8)
XYZxyz(16.7753, 8.5685, 34.0212)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871DA0 #36A01D
analogous
#461DA0 #871DA0 #A01D77
triadic
#871DA0 #A0871D #1DA087
tetradic
#871DA0 #A0461D #36A01D #1D77A0
square
#871DA0 #A0461D #36A01D #1D77A0
split-complementary
#871DA0 #77A01D #1DA046
monochromatic
#300A38 #5B146C #871DA0 #B326D4 #C657E1

Accessibility & contrast

On white

7.74
#871DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#871DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871DA0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871DA0#FFFFFF#000000##FFFFFF
##871DA01.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#26569D
Tritanopia (blue-blind)
#873B60
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #871da0;
/* rgb */ color: rgb(135, 29, 160);
/* oklch */ color: oklch(46.8% 0.203 318.8);
Tailwind
colors: {
  custom: {
    50: '#ae68bd',
    500: '#871da0',
    950: '#000000',
  },
}
SCSS
$custom: #871da0;
$custom-light: #ae68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#871da0",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 288.55,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46776,
    "c": 0.20295,
    "h": 318.8
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#871DA0
secondary
#6AC455
accent
#EC3C5D
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #871DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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