#871679#871679

#871679 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.179 H 334.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#871679
RGBrgb(135, 22, 121)
HSLhsl(307, 72%, 31%)
HSVhsv(307, 84%, 53%)
CMYKcmyk(0%, 83.7%, 10.4%, 47.1%)
CIE-LABlab(32.05, 55.25, -28.40)
CIE-LCHlch(32.05, 62.12, 332.80°)
OKLaboklab(43.8% 0.1607 -0.0779)
OKLCHoklch(43.8% 0.179 334.1)
XYZxyz(13.7299, 7.1064, 18.7340)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871679 #168724
analogous
#5C1687 #871679 #871640
triadic
#871679 #798716 #167987
tetradic
#871679 #875C16 #168724 #164087
square
#871679 #875C16 #168724 #164087
split-complementary
#871679 #408716 #16875C
monochromatic
#1E051B #520D4A #871679 #BC1FA8 #DF39CA

Accessibility & contrast

On white

8.67
#871679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871679
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871679#FFFFFF#000000##FFFFFF
##8716791.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417C
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#8E2348
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871679;
/* rgb */ color: rgb(135, 22, 121);
/* oklch */ color: oklch(43.8% 0.179 334.1);
Tailwind
colors: {
  custom: {
    50: '#ae64a0',
    500: '#871679',
    950: '#000000',
  },
}
SCSS
$custom: #871679;
$custom-light: #ae64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#871679",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 307.434,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.17855,
    "h": 334.1
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#871679
secondary
#3EBB4D
accent
#EF5039
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871679

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

Preview Lab → · Contrast checker → · Palette generator →

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