#871684#871684

#871684 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.187 H 329.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#871684
RGBrgb(135, 22, 132)
HSLhsl(302, 72%, 31%)
HSVhsv(302, 84%, 53%)
CMYKcmyk(0%, 83.7%, 2.2%, 47.1%)
CIE-LABlab(32.68, 56.98, -34.29)
CIE-LCHlch(32.68, 66.50, 328.96°)
OKLaboklab(44.46% 0.1606 -0.095)
OKLCHoklch(44.46% 0.187 329.4)
XYZxyz(14.4433, 7.3918, 22.4914)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871684 #168719
analogous
#511687 #871684 #87164B
triadic
#871684 #848716 #168487
tetradic
#871684 #875116 #168719 #164B87
square
#871684 #875116 #168719 #164B87
split-complementary
#871684 #4B8716 #168751
monochromatic
#1E051D #520D51 #871684 #BC1FB7 #DF39DA

Accessibility & contrast

On white

8.47
#871684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#871684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871684
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871684#FFFFFF#000000##FFFFFF
##8716841.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#8C294E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871684;
/* rgb */ color: rgb(135, 22, 132);
/* oklch */ color: oklch(44.5% 0.187 329.4);
Tailwind
colors: {
  custom: {
    50: '#ae64a8',
    500: '#871684',
    950: '#000000',
  },
}
SCSS
$custom: #871684;
$custom-light: #ae64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#871684",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 301.593,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4446,
    "c": 0.18661,
    "h": 329.4
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#871684
secondary
#3EBB41
accent
#EF3E39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871684

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

Preview Lab → · Contrast checker → · Palette generator →

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