#87277A#87277A

#87277A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.161 H 333.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#87277A
RGBrgb(135, 39, 122)
HSLhsl(308, 55%, 34%)
HSVhsv(308, 71%, 53%)
CMYKcmyk(0%, 71.1%, 9.6%, 47.1%)
CIE-LABlab(34.00, 49.98, -25.96)
CIE-LCHlch(34.00, 56.32, 332.56°)
OKLaboklab(45.22% 0.1448 -0.071)
OKLCHoklch(45.22% 0.161 333.9)
XYZxyz(14.2301, 8.0083, 19.2049)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87277A #278734
analogous
#642787 #87277A #87274A
triadic
#87277A #7A8727 #277A87
tetradic
#87277A #876427 #278734 #274A87
square
#87277A #876427 #278734 #274A87
split-complementary
#87277A #4A8727 #278764
monochromatic
#280C24 #58194F #87277A #B635A5 #CF59BF

Accessibility & contrast

On white

8.07
#87277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#87277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87277A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87277A#FFFFFF#000000##FFFFFF
##87277A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#465578
Tritanopia (blue-blind)
#8D2F4D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87277a;
/* rgb */ color: rgb(135, 39, 122);
/* oklch */ color: oklch(45.2% 0.161 333.9);
Tailwind
colors: {
  custom: {
    50: '#ad6aa1',
    500: '#87277a',
    950: '#000000',
  },
}
SCSS
$custom: #87277a;
$custom-light: #ad6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#87277a",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 308.125,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.16125,
    "h": 333.9
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#87277A
secondary
#56B463
accent
#DF5E49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #87277A

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

Preview Lab → · Contrast checker → · Palette generator →

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