#871E94#871E94

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

Color values

HEX#871E94
RGBrgb(135, 30, 148)
HSLhsl(293, 66%, 35%)
HSVhsv(293, 80%, 58%)
CMYKcmyk(8.8%, 79.7%, 0%, 42%)
CIE-LABlab(34.43, 57.54, -41.38)
CIE-LCHlch(34.43, 70.87, 324.28°)
OKLaboklab(46.02% 0.1535 -0.1157)
OKLCHoklch(46.02% 0.192 323)
XYZxyz(15.8007, 8.2185, 28.7653)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E94 #2B941E
analogous
#4C1E94 #871E94 #941E66
triadic
#871E94 #94871E #1E9487
tetradic
#871E94 #944C1E #2B941E #1E6694
square
#871E94 #944C1E #2B941E #1E6694
split-complementary
#871E94 #66941E #1E944C
monochromatic
#2A092E #591461 #871E94 #B528C7 #CC51DC

Accessibility & contrast

On white

7.94
#871E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E94
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E94#FFFFFF#000000##FFFFFF
##871E941.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#893659
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #871e94;
/* rgb */ color: rgb(135, 30, 148);
/* oklch */ color: oklch(46.0% 0.192 323.0);
Tailwind
colors: {
  custom: {
    50: '#ae68b4',
    500: '#871e94',
    950: '#000000',
  },
}
SCSS
$custom: #871e94;
$custom-light: #ae68b4;
$custom-dark: #000000;
JSON
{
  "hex": "#871e94",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 293.39,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46022,
    "c": 0.19218,
    "h": 323
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#871E94
secondary
#5BBF4F
accent
#E93F51
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #871E94

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

Preview Lab → · Contrast checker → · Palette generator →

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