#871476#871476

#871476 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.178 H 335.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#871476
RGBrgb(135, 20, 118)
HSLhsl(309, 74%, 30%)
HSVhsv(309, 85%, 53%)
CMYKcmyk(0%, 85.2%, 12.6%, 47.1%)
CIE-LABlab(31.72, 55.28, -27.02)
CIE-LCHlch(31.72, 61.53, 333.95°)
OKLaboklab(43.51% 0.162 -0.0739)
OKLCHoklch(43.51% 0.178 335.5)
XYZxyz(13.5121, 6.9605, 17.7679)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871476 #148725
analogous
#5F1487 #871476 #87143C
triadic
#871476 #768714 #147687
tetradic
#871476 #875F14 #148725 #143C87
square
#871476 #875F14 #148725 #143C87
split-complementary
#871476 #3C8714 #14875F
monochromatic
#1C0419 #520C47 #871476 #BC1CA5 #E134C7

Accessibility & contrast

On white

8.78
#871476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#871476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871476
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871476#FFFFFF#000000##FFFFFF
##8714761.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871476;
/* rgb */ color: rgb(135, 20, 118);
/* oklch */ color: oklch(43.5% 0.178 335.5);
Tailwind
colors: {
  custom: {
    50: '#ae639e',
    500: '#871476',
    950: '#000000',
  },
}
SCSS
$custom: #871476;
$custom-light: #ae639e;
$custom-dark: #000000;
JSON
{
  "hex": "#871476",
  "rgb": {
    "r": 135,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 308.87,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43514,
    "c": 0.17806,
    "h": 335.5
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#871476
secondary
#3BBB4E
accent
#F15237
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871476

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

Preview Lab → · Contrast checker → · Palette generator →

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