#87177A#87177A

#87177A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.178 H 333.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#87177A
RGBrgb(135, 23, 122)
HSLhsl(307, 71%, 31%)
HSVhsv(307, 83%, 53%)
CMYKcmyk(0%, 83%, 9.6%, 47.1%)
CIE-LABlab(32.19, 55.15, -28.80)
CIE-LCHlch(32.19, 62.21, 332.42°)
OKLaboklab(43.92% 0.16 -0.0791)
OKLCHoklch(43.92% 0.178 333.7)
XYZxyz(13.8111, 7.1701, 19.0652)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87177A #178724
analogous
#5C1787 #87177A #871742
triadic
#87177A #7A8717 #177A87
tetradic
#87177A #875C17 #178724 #174287
square
#87177A #875C17 #178724 #174287
split-complementary
#87177A #428717 #17875C
monochromatic
#1E051B #530E4B #87177A #BB20A9 #DE3BCB

Accessibility & contrast

On white

8.63
#87177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#87177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87177A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87177A#FFFFFF#000000##FFFFFF
##87177A1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427D
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#8E2449
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #87177a;
/* rgb */ color: rgb(135, 23, 122);
/* oklch */ color: oklch(43.9% 0.178 333.7);
Tailwind
colors: {
  custom: {
    50: '#ae64a1',
    500: '#87177a',
    950: '#000000',
  },
}
SCSS
$custom: #87177a;
$custom-light: #ae64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#87177a",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 306.964,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43924,
    "c": 0.17844,
    "h": 333.7
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#87177A
secondary
#3FBB4D
accent
#EE4F3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #87177A

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

Preview Lab → · Contrast checker → · Palette generator →

#87177A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva