#87177F#87177F

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

Color values

HEX#87177F
RGBrgb(135, 23, 127)
HSLhsl(304, 71%, 31%)
HSVhsv(304, 83%, 53%)
CMYKcmyk(0%, 83%, 5.9%, 47.1%)
CIE-LABlab(32.47, 55.93, -31.50)
CIE-LCHlch(32.47, 64.19, 330.61°)
OKLaboklab(44.22% 0.16 -0.0869)
OKLCHoklch(44.22% 0.182 331.5)
XYZxyz(14.1289, 7.2972, 20.7389)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87177F #17871F
analogous
#571787 #87177F #871747
triadic
#87177F #7F8717 #177F87
tetradic
#87177F #875717 #17871F #174787
square
#87177F #875717 #17871F #174787
split-complementary
#87177F #478717 #178757
monochromatic
#1E051D #530E4E #87177F #BB20B0 #DE3BD2

Accessibility & contrast

On white

8.54
#87177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#87177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87177F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87177F#FFFFFF#000000##FFFFFF
##87177F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084382
Deuteranopia (green-blind)
#3E527C
Tritanopia (blue-blind)
#8D274C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #87177f;
/* rgb */ color: rgb(135, 23, 127);
/* oklch */ color: oklch(44.2% 0.182 331.5);
Tailwind
colors: {
  custom: {
    50: '#ae64a4',
    500: '#87177f',
    950: '#000000',
  },
}
SCSS
$custom: #87177f;
$custom-light: #ae64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#87177f",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 304.286,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.18208,
    "h": 331.5
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#87177F
secondary
#3FBB48
accent
#EE473A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #87177F

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

Preview Lab → · Contrast checker → · Palette generator →

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