#871876#871876

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

Color values

HEX#871876
RGBrgb(135, 24, 118)
HSLhsl(309, 70%, 31%)
HSVhsv(309, 82%, 53%)
CMYKcmyk(0%, 82.2%, 12.6%, 47.1%)
CIE-LABlab(32.06, 54.27, -26.48)
CIE-LCHlch(32.06, 60.39, 334.00°)
OKLaboklab(43.76% 0.159 -0.0724)
OKLCHoklch(43.76% 0.175 335.5)
XYZxyz(13.5885, 7.1134, 17.7934)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871876 #188729
analogous
#601887 #871876 #87183E
triadic
#871876 #768718 #187687
tetradic
#871876 #876018 #188729 #183E87
square
#871876 #876018 #188729 #183E87
split-complementary
#871876 #3E8718 #188760
monochromatic
#1F061B #530F49 #871876 #BB21A3 #DC3DC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871876#FFFFFF#000000##FFFFFF
##8718761.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)
#184178
Deuteranopia (green-blind)
#435174
Tritanopia (blue-blind)
#8E2247
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871876;
/* rgb */ color: rgb(135, 24, 118);
/* oklch */ color: oklch(43.8% 0.175 335.5);
Tailwind
colors: {
  custom: {
    50: '#ae649e',
    500: '#871876',
    950: '#000000',
  },
}
SCSS
$custom: #871876;
$custom-light: #ae649e;
$custom-dark: #000000;
JSON
{
  "hex": "#871876",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 309.189,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.17469,
    "h": 335.5
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#871876
secondary
#40BB53
accent
#ED563B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871876

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

Preview Lab → · Contrast checker → · Palette generator →

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