#871E90#871E90

#871E90 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.189 H 324.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#871E90
RGBrgb(135, 30, 144)
HSLhsl(295, 66%, 34%)
HSVhsv(295, 79%, 56%)
CMYKcmyk(6.2%, 79.2%, 0%, 43.5%)
CIE-LABlab(34.18, 56.82, -39.33)
CIE-LCHlch(34.18, 69.11, 325.31°)
OKLaboklab(45.76% 0.1538 -0.1097)
OKLCHoklch(45.76% 0.189 324.5)
XYZxyz(15.4896, 8.0941, 27.1266)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E90 #27901E
analogous
#4E1E90 #871E90 #901E60
triadic
#871E90 #90871E #1E9087
tetradic
#871E90 #904E1E #27901E #1E6090
square
#871E90 #904E1E #27901E #1E6090
split-complementary
#871E90 #60901E #1E904E
monochromatic
#28092B #58135D #871E90 #B629C3 #CF4EDA

Accessibility & contrast

On white

8.02
#871E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E90
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E90#FFFFFF#000000##FFFFFF
##871E901.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871e90;
/* rgb */ color: rgb(135, 30, 144);
/* oklch */ color: oklch(45.8% 0.189 324.5);
Tailwind
colors: {
  custom: {
    50: '#ae67b1',
    500: '#871e90',
    950: '#000000',
  },
}
SCSS
$custom: #871e90;
$custom-light: #ae67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#871e90",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 295.263,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.18893,
    "h": 324.5
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#871E90
secondary
#56BD4D
accent
#E83F4D
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #871E90

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

Preview Lab → · Contrast checker → · Palette generator →

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