#871B83#871B83

#871B83 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.182 H 329.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#871B83
RGBrgb(135, 27, 131)
HSLhsl(302, 67%, 32%)
HSVhsv(302, 80%, 53%)
CMYKcmyk(0%, 80%, 3%, 47.1%)
CIE-LABlab(33.08, 55.49, -33.03)
CIE-LCHlch(33.08, 64.58, 329.23°)
OKLaboklab(44.72% 0.1569 -0.0914)
OKLCHoklch(44.72% 0.182 329.8)
XYZxyz(14.4803, 7.5746, 22.1677)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B83 #1B871F
analogous
#551B87 #871B83 #871B4D
triadic
#871B83 #83871B #1B8387
tetradic
#871B83 #87551B #1B871F #1B4D87
square
#871B83 #87551B #1B871F #1B4D87
split-complementary
#871B83 #4D871B #1B8755
monochromatic
#210720 #541152 #871B83 #BA25B4 #D943D4

Accessibility & contrast

On white

8.35
#871B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#871B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B83
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B83#FFFFFF#000000##FFFFFF
##871B831.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064586
Deuteranopia (green-blind)
#3D5380
Tritanopia (blue-blind)
#8C2C4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871b83;
/* rgb */ color: rgb(135, 27, 131);
/* oklch */ color: oklch(44.7% 0.182 329.8);
Tailwind
colors: {
  custom: {
    50: '#ae66a7',
    500: '#871b83',
    950: '#000000',
  },
}
SCSS
$custom: #871b83;
$custom-light: #ae66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#871b83",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 302.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44724,
    "c": 0.18153,
    "h": 329.8
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#871B83
secondary
#44BA48
accent
#EA453E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #871B83

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

Preview Lab → · Contrast checker → · Palette generator →

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