#871983#871983

#871983 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.183 H 329.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#871983
RGBrgb(135, 25, 131)
HSLhsl(302, 69%, 31%)
HSVhsv(302, 81%, 53%)
CMYKcmyk(0%, 81.5%, 3%, 47.1%)
CIE-LABlab(32.89, 56.04, -33.34)
CIE-LCHlch(32.89, 65.21, 329.25°)
OKLaboklab(44.59% 0.1585 -0.0922)
OKLCHoklch(44.59% 0.183 329.8)
XYZxyz(14.4360, 7.4860, 22.1530)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871983 #19871D
analogous
#541987 #871983 #87194C
triadic
#871983 #838719 #198387
tetradic
#871983 #875419 #19871D #194C87
square
#871983 #875419 #19871D #194C87
split-complementary
#871983 #4C8719 #198754
monochromatic
#20061F #530F51 #871983 #BB23B5 #DB3FD6

Accessibility & contrast

On white

8.41
#871983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#871983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871983
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871983#FFFFFF#000000##FFFFFF
##8719831.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024486
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#8C2A4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871983;
/* rgb */ color: rgb(135, 25, 131);
/* oklch */ color: oklch(44.6% 0.183 329.8);
Tailwind
colors: {
  custom: {
    50: '#ae65a7',
    500: '#871983',
    950: '#000000',
  },
}
SCSS
$custom: #871983;
$custom-light: #ae65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#871983",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 302.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44587,
    "c": 0.18334,
    "h": 329.8
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#871983
secondary
#41BA46
accent
#EC433C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #871983

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

Preview Lab → · Contrast checker → · Palette generator →

#871983 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva