#87277B#87277B

#87277B is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.162 H 333.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#87277B
RGBrgb(135, 39, 123)
HSLhsl(308, 55%, 34%)
HSVhsv(308, 71%, 53%)
CMYKcmyk(0%, 71.1%, 8.9%, 47.1%)
CIE-LABlab(34.05, 50.14, -26.50)
CIE-LCHlch(34.05, 56.72, 332.14°)
OKLaboklab(45.28% 0.1449 -0.0726)
OKLCHoklch(45.28% 0.162 333.4)
XYZxyz(14.2924, 8.0332, 19.5329)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87277B #278733
analogous
#632787 #87277B #87274B
triadic
#87277B #7B8727 #277B87
tetradic
#87277B #876327 #278733 #274B87
square
#87277B #876327 #278733 #274B87
split-complementary
#87277B #4B8727 #278763
monochromatic
#280C24 #581950 #87277B #B635A6 #CF59C0

Accessibility & contrast

On white

8.06
#87277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#87277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87277B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87277B#FFFFFF#000000##FFFFFF
##87277B1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#8D304E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87277b;
/* rgb */ color: rgb(135, 39, 123);
/* oklch */ color: oklch(45.3% 0.162 333.4);
Tailwind
colors: {
  custom: {
    50: '#ad6aa1',
    500: '#87277b',
    950: '#000000',
  },
}
SCSS
$custom: #87277b;
$custom-light: #ad6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#87277b",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 307.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.16203,
    "h": 333.4
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#87277B
secondary
#56B462
accent
#DF5C49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #87277B

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

Preview Lab → · Contrast checker → · Palette generator →

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