#87277E#87277E

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

Color values

HEX#87277E
RGBrgb(135, 39, 126)
HSLhsl(306, 55%, 34%)
HSVhsv(306, 71%, 53%)
CMYKcmyk(0%, 71.1%, 6.7%, 47.1%)
CIE-LABlab(34.21, 50.64, -28.13)
CIE-LCHlch(34.21, 57.93, 330.95°)
OKLaboklab(45.44% 0.1451 -0.0773)
OKLCHoklch(45.44% 0.164 332)
XYZxyz(14.4831, 8.1094, 20.5371)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87277E #278730
analogous
#602787 #87277E #87274E
triadic
#87277E #7E8727 #277E87
tetradic
#87277E #876027 #278730 #274E87
square
#87277E #876027 #278730 #274E87
split-complementary
#87277E #4E8727 #278760
monochromatic
#280C25 #581952 #87277E #B635AA #CF59C4

Accessibility & contrast

On white

8.01
#87277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87277E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87277E#FFFFFF#000000##FFFFFF
##87277E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214880
Deuteranopia (green-blind)
#45557C
Tritanopia (blue-blind)
#8D314F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87277e;
/* rgb */ color: rgb(135, 39, 126);
/* oklch */ color: oklch(45.4% 0.164 332.0);
Tailwind
colors: {
  custom: {
    50: '#ad6aa4',
    500: '#87277e',
    950: '#000000',
  },
}
SCSS
$custom: #87277e;
$custom-light: #ad6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#87277e",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 305.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.1644,
    "h": 332
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#87277E
secondary
#56B45F
accent
#DF5749
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87277E

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

Preview Lab → · Contrast checker → · Palette generator →

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