#871675#871675

#871675 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.176 H 336.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#871675
RGBrgb(135, 22, 117)
HSLhsl(310, 72%, 31%)
HSVhsv(310, 84%, 53%)
CMYKcmyk(0%, 83.7%, 13.3%, 47.1%)
CIE-LABlab(31.83, 54.64, -26.21)
CIE-LCHlch(31.83, 60.60, 334.38°)
OKLaboklab(43.58% 0.1605 -0.0716)
OKLCHoklch(43.58% 0.176 336)
XYZxyz(13.4897, 7.0104, 17.4689)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871675 #168728
analogous
#611687 #871675 #87163C
triadic
#871675 #758716 #167587
tetradic
#871675 #876116 #168728 #163C87
square
#871675 #876116 #168728 #163C87
split-complementary
#871675 #3C8716 #168761
monochromatic
#1E051A #520D47 #871675 #BC1FA3 #DF39C4

Accessibility & contrast

On white

8.74
#871675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#871675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871675
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871675#FFFFFF#000000##FFFFFF
##8716751.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184077
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#8E2046
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871675;
/* rgb */ color: rgb(135, 22, 117);
/* oklch */ color: oklch(43.6% 0.176 336.0);
Tailwind
colors: {
  custom: {
    50: '#ae639d',
    500: '#871675',
    950: '#000000',
  },
}
SCSS
$custom: #871675;
$custom-light: #ae639d;
$custom-dark: #000000;
JSON
{
  "hex": "#871675",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 309.558,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43578,
    "c": 0.17573,
    "h": 336
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#871675
secondary
#3EBB52
accent
#EF5639
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871675

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

Preview Lab → · Contrast checker → · Palette generator →

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