#871682#871682

#871682 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.185 H 330.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#871682
RGBrgb(135, 22, 130)
HSLhsl(303, 72%, 31%)
HSVhsv(303, 84%, 53%)
CMYKcmyk(0%, 83.7%, 3.7%, 47.1%)
CIE-LABlab(32.56, 56.65, -33.23)
CIE-LCHlch(32.56, 65.68, 329.61°)
OKLaboklab(44.34% 0.1607 -0.0919)
OKLCHoklch(44.34% 0.185 330.2)
XYZxyz(14.3078, 7.3376, 21.7775)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871682 #16871B
analogous
#531687 #871682 #871649
triadic
#871682 #828716 #168287
tetradic
#871682 #875316 #16871B #164987
square
#871682 #875316 #16871B #164987
split-complementary
#871682 #498716 #168753
monochromatic
#1E051D #520D4F #871682 #BC1FB5 #DF39D7

Accessibility & contrast

On white

8.51
#871682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#871682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871682
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871682#FFFFFF#000000##FFFFFF
##8716821.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#3C527F
Tritanopia (blue-blind)
#8C284D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871682;
/* rgb */ color: rgb(135, 22, 130);
/* oklch */ color: oklch(44.3% 0.185 330.2);
Tailwind
colors: {
  custom: {
    50: '#ae64a7',
    500: '#871682',
    950: '#000000',
  },
}
SCSS
$custom: #871682;
$custom-light: #ae64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#871682",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 302.655,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44337,
    "c": 0.18512,
    "h": 330.2
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#871682
secondary
#3EBB43
accent
#EF4139
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #871682

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

Preview Lab → · Contrast checker → · Palette generator →

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