#871678#871678

#871678 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.178 H 334.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#871678
RGBrgb(135, 22, 120)
HSLhsl(308, 72%, 31%)
HSVhsv(308, 84%, 53%)
CMYKcmyk(0%, 83.7%, 11.1%, 47.1%)
CIE-LABlab(31.99, 55.09, -27.85)
CIE-LCHlch(31.99, 61.73, 333.18°)
OKLaboklab(43.75% 0.1606 -0.0763)
OKLCHoklch(43.75% 0.178 334.6)
XYZxyz(13.6689, 7.0820, 18.4127)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871678 #168725
analogous
#5D1687 #871678 #87163F
triadic
#871678 #788716 #167887
tetradic
#871678 #875D16 #168725 #163F87
square
#871678 #875D16 #168725 #163F87
split-complementary
#871678 #3F8716 #16875D
monochromatic
#1E051A #520D49 #871678 #BC1FA7 #DF39C9

Accessibility & contrast

On white

8.69
#871678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#871678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871678
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871678#FFFFFF#000000##FFFFFF
##8716781.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417A
Deuteranopia (green-blind)
#415175
Tritanopia (blue-blind)
#8E2247
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871678;
/* rgb */ color: rgb(135, 22, 120);
/* oklch */ color: oklch(43.7% 0.178 334.6);
Tailwind
colors: {
  custom: {
    50: '#ae649f',
    500: '#871678',
    950: '#000000',
  },
}
SCSS
$custom: #871678;
$custom-light: #ae649f;
$custom-dark: #000000;
JSON
{
  "hex": "#871678",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 307.965,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.17785,
    "h": 334.6
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#871678
secondary
#3EBB4E
accent
#EF5139
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871678

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

Preview Lab → · Contrast checker → · Palette generator →

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