#871C94#871C94

#871C94 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.194 H 323.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#871C94
RGBrgb(135, 28, 148)
HSLhsl(294, 68%, 35%)
HSVhsv(294, 81%, 58%)
CMYKcmyk(8.8%, 81.1%, 0%, 42%)
CIE-LABlab(34.23, 58.12, -41.70)
CIE-LCHlch(34.23, 71.53, 324.34°)
OKLaboklab(45.88% 0.155 -0.1166)
OKLCHoklch(45.88% 0.194 323)
XYZxyz(15.7517, 8.1205, 28.7490)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C94 #29941C
analogous
#4B1C94 #871C94 #941C65
triadic
#871C94 #94871C #1C9487
tetradic
#871C94 #944B1C #29941C #1C6594
square
#871C94 #944B1C #29941C #1C6594
split-complementary
#871C94 #65941C #1C944B
monochromatic
#29092D #581261 #871C94 #B626C7 #CE4DDD

Accessibility & contrast

On white

8.00
#871C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#871C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C94
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C94#FFFFFF#000000##FFFFFF
##871C941.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#325491
Tritanopia (blue-blind)
#893559
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #871c94;
/* rgb */ color: rgb(135, 28, 148);
/* oklch */ color: oklch(45.9% 0.194 323.0);
Tailwind
colors: {
  custom: {
    50: '#ae67b4',
    500: '#871c94',
    950: '#000000',
  },
}
SCSS
$custom: #871c94;
$custom-light: #ae67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#871c94",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 293.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.194,
    "h": 323
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#871C94
secondary
#59C04C
accent
#EB3D50
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #871C94

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

Preview Lab → · Contrast checker → · Palette generator →

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