#871E93#871E93

#871E93 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.191 H 323.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#871E93
RGBrgb(135, 30, 147)
HSLhsl(294, 66%, 35%)
HSVhsv(294, 80%, 58%)
CMYKcmyk(8.2%, 79.6%, 0%, 42.4%)
CIE-LABlab(34.37, 57.36, -40.87)
CIE-LCHlch(34.37, 70.43, 324.53°)
OKLaboklab(45.96% 0.1535 -0.1142)
OKLCHoklch(45.96% 0.191 323.4)
XYZxyz(15.7219, 8.1870, 28.3503)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E93 #2A931E
analogous
#4C1E93 #871E93 #931E65
triadic
#871E93 #93871E #1E9387
tetradic
#871E93 #934C1E #2A931E #1E6593
square
#871E93 #934C1E #2A931E #1E6593
split-complementary
#871E93 #65931E #1E934C
monochromatic
#2A092D #581460 #871E93 #B628C6 #CD50DB

Accessibility & contrast

On white

7.96
#871E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#871E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E93
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E93#FFFFFF#000000##FFFFFF
##871E931.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#335590
Tritanopia (blue-blind)
#893559
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #871e93;
/* rgb */ color: rgb(135, 30, 147);
/* oklch */ color: oklch(46.0% 0.191 323.4);
Tailwind
colors: {
  custom: {
    50: '#ae67b3',
    500: '#871e93',
    950: '#000000',
  },
}
SCSS
$custom: #871e93;
$custom-light: #ae67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#871e93",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 293.846,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45955,
    "c": 0.19136,
    "h": 323.4
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#871E93
secondary
#5ABE4F
accent
#E93F50
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #871E93

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

Preview Lab → · Contrast checker → · Palette generator →

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