#87277D#87277D

#87277D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.164 H 332.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#87277D
RGBrgb(135, 39, 125)
HSLhsl(306, 55%, 34%)
HSVhsv(306, 71%, 53%)
CMYKcmyk(0%, 71.1%, 7.4%, 47.1%)
CIE-LABlab(34.16, 50.47, -27.59)
CIE-LCHlch(34.16, 57.52, 331.34°)
OKLaboklab(45.39% 0.145 -0.0757)
OKLCHoklch(45.39% 0.164 332.4)
XYZxyz(14.4189, 8.0838, 20.1990)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87277D #278731
analogous
#612787 #87277D #87274D
triadic
#87277D #7D8727 #277D87
tetradic
#87277D #876127 #278731 #274D87
square
#87277D #876127 #278731 #274D87
split-complementary
#87277D #4D8727 #278761
monochromatic
#280C25 #581951 #87277D #B635A9 #CF59C3

Accessibility & contrast

On white

8.03
#87277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#87277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87277D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87277D#FFFFFF#000000##FFFFFF
##87277D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22487F
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#8D314F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87277d;
/* rgb */ color: rgb(135, 39, 125);
/* oklch */ color: oklch(45.4% 0.164 332.4);
Tailwind
colors: {
  custom: {
    50: '#ad6aa3',
    500: '#87277d',
    950: '#000000',
  },
}
SCSS
$custom: #87277d;
$custom-light: #ad6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#87277d",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 306.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.16361,
    "h": 332.4
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#87277D
secondary
#56B460
accent
#DF5949
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87277D

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

Preview Lab → · Contrast checker → · Palette generator →

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