#871477#871477

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

Color values

HEX#871477
RGBrgb(135, 20, 119)
HSLhsl(308, 74%, 30%)
HSVhsv(308, 85%, 53%)
CMYKcmyk(0%, 85.2%, 11.9%, 47.1%)
CIE-LABlab(31.77, 55.43, -27.57)
CIE-LCHlch(31.77, 61.90, 333.55°)
OKLaboklab(43.57% 0.162 -0.0755)
OKLCHoklch(43.57% 0.179 335)
XYZxyz(13.5718, 6.9844, 18.0825)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871477 #148724
analogous
#5D1487 #871477 #87143D
triadic
#871477 #778714 #147787
tetradic
#871477 #875D14 #148724 #143D87
square
#871477 #875D14 #148724 #143D87
split-complementary
#871477 #3D8714 #14875D
monochromatic
#1C0419 #520C48 #871477 #BC1CA6 #E134C9

Accessibility & contrast

On white

8.76
#871477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871477
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871477#FFFFFF#000000##FFFFFF
##8714771.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871477;
/* rgb */ color: rgb(135, 20, 119);
/* oklch */ color: oklch(43.6% 0.179 335.0);
Tailwind
colors: {
  custom: {
    50: '#ae639e',
    500: '#871477',
    950: '#000000',
  },
}
SCSS
$custom: #871477;
$custom-light: #ae639e;
$custom-dark: #000000;
JSON
{
  "hex": "#871477",
  "rgb": {
    "r": 135,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 308.348,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4357,
    "c": 0.17875,
    "h": 335
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#871477
secondary
#3BBB4D
accent
#F15137
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871477

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

Preview Lab → · Contrast checker → · Palette generator →

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