#87177B#87177B

#87177B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.179 H 333.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#87177B
RGBrgb(135, 23, 123)
HSLhsl(306, 71%, 31%)
HSVhsv(306, 83%, 53%)
CMYKcmyk(0%, 83%, 8.9%, 47.1%)
CIE-LABlab(32.25, 55.30, -29.34)
CIE-LCHlch(32.25, 62.60, 332.05°)
OKLaboklab(43.98% 0.16 -0.0806)
OKLCHoklch(43.98% 0.179 333.2)
XYZxyz(13.8733, 7.1950, 19.3932)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87177B #178723
analogous
#5B1787 #87177B #871743
triadic
#87177B #7B8717 #177B87
tetradic
#87177B #875B17 #178723 #174387
square
#87177B #875B17 #178723 #174387
split-complementary
#87177B #438717 #17875B
monochromatic
#1E051C #530E4B #87177B #BB20AB #DE3BCC

Accessibility & contrast

On white

8.61
#87177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#87177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87177B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87177B#FFFFFF#000000##FFFFFF
##87177B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427E
Deuteranopia (green-blind)
#405178
Tritanopia (blue-blind)
#8D2549
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #87177b;
/* rgb */ color: rgb(135, 23, 123);
/* oklch */ color: oklch(44.0% 0.179 333.2);
Tailwind
colors: {
  custom: {
    50: '#ae64a1',
    500: '#87177b',
    950: '#000000',
  },
}
SCSS
$custom: #87177b;
$custom-light: #ae64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#87177b",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 306.429,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43981,
    "c": 0.17915,
    "h": 333.2
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#87177B
secondary
#3FBB4C
accent
#EE4D3A
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #87177B

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

Preview Lab → · Contrast checker → · Palette generator →

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