#87177E#87177E

#87177E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.181 H 331.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#87177E
RGBrgb(135, 23, 126)
HSLhsl(305, 71%, 31%)
HSVhsv(305, 83%, 53%)
CMYKcmyk(0%, 83%, 6.7%, 47.1%)
CIE-LABlab(32.42, 55.77, -30.96)
CIE-LCHlch(32.42, 63.79, 330.96°)
OKLaboklab(44.16% 0.16 -0.0853)
OKLCHoklch(44.16% 0.181 331.9)
XYZxyz(14.0640, 7.2713, 20.3974)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87177E #178720
analogous
#581787 #87177E #871746
triadic
#87177E #7E8717 #177E87
tetradic
#87177E #875817 #178720 #174687
square
#87177E #875817 #178720 #174687
split-complementary
#87177E #468717 #178758
monochromatic
#1E051C #530E4D #87177E #BB20AF #DE3BD0

Accessibility & contrast

On white

8.56
#87177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#87177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87177E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87177E#FFFFFF#000000##FFFFFF
##87177E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4281
Deuteranopia (green-blind)
#3E527B
Tritanopia (blue-blind)
#8D264B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #87177e;
/* rgb */ color: rgb(135, 23, 126);
/* oklch */ color: oklch(44.2% 0.181 331.9);
Tailwind
colors: {
  custom: {
    50: '#ae64a4',
    500: '#87177e',
    950: '#000000',
  },
}
SCSS
$custom: #87177e;
$custom-light: #ae64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#87177e",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 304.821,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.18134,
    "h": 331.9
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#87177E
secondary
#3FBB49
accent
#EE493A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #87177E

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

Preview Lab → · Contrast checker → · Palette generator →

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