#87177D#87177D

#87177D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.181 H 332.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#87177D
RGBrgb(135, 23, 125)
HSLhsl(305, 71%, 31%)
HSVhsv(305, 83%, 53%)
CMYKcmyk(0%, 83%, 7.4%, 47.1%)
CIE-LABlab(32.36, 55.61, -30.42)
CIE-LCHlch(32.36, 63.39, 331.32°)
OKLaboklab(44.1% 0.16 -0.0838)
OKLCHoklch(44.1% 0.181 332.4)
XYZxyz(13.9998, 7.2456, 20.0593)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87177D #178721
analogous
#591787 #87177D #871745
triadic
#87177D #7D8717 #177D87
tetradic
#87177D #875917 #178721 #174587
square
#87177D #875917 #178721 #174587
split-complementary
#87177D #458717 #178759
monochromatic
#1E051C #530E4D #87177D #BB20AD #DE3BCF

Accessibility & contrast

On white

8.58
#87177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87177D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87177D#FFFFFF#000000##FFFFFF
##87177D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4280
Deuteranopia (green-blind)
#3F527A
Tritanopia (blue-blind)
#8D264A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #87177d;
/* rgb */ color: rgb(135, 23, 125);
/* oklch */ color: oklch(44.1% 0.181 332.4);
Tailwind
colors: {
  custom: {
    50: '#ae64a3',
    500: '#87177d',
    950: '#000000',
  },
}
SCSS
$custom: #87177d;
$custom-light: #ae64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#87177d",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 305.357,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44098,
    "c": 0.18061,
    "h": 332.4
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#87177D
secondary
#3FBB4A
accent
#EE4A3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #87177D

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

Preview Lab → · Contrast checker → · Palette generator →

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