#87277C#87277C

#87277C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.163 H 332.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#87277C
RGBrgb(135, 39, 124)
HSLhsl(307, 55%, 34%)
HSVhsv(307, 71%, 53%)
CMYKcmyk(0%, 71.1%, 8.1%, 47.1%)
CIE-LABlab(34.10, 50.31, -27.05)
CIE-LCHlch(34.10, 57.12, 331.74°)
OKLaboklab(45.33% 0.145 -0.0741)
OKLCHoklch(45.33% 0.163 332.9)
XYZxyz(14.3553, 8.0583, 19.8642)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87277C #278732
analogous
#622787 #87277C #87274C
triadic
#87277C #7C8727 #277C87
tetradic
#87277C #876227 #278732 #274C87
square
#87277C #876227 #278732 #274C87
split-complementary
#87277C #4C8727 #278762
monochromatic
#280C25 #581950 #87277C #B635A8 #CF59C2

Accessibility & contrast

On white

8.04
#87277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87277C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87277C#FFFFFF#000000##FFFFFF
##87277C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#46557A
Tritanopia (blue-blind)
#8D304E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87277c;
/* rgb */ color: rgb(135, 39, 124);
/* oklch */ color: oklch(45.3% 0.163 332.9);
Tailwind
colors: {
  custom: {
    50: '#ad6aa2',
    500: '#87277c',
    950: '#000000',
  },
}
SCSS
$custom: #87277c;
$custom-light: #ad6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#87277c",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 306.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.16281,
    "h": 332.9
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#87277C
secondary
#56B461
accent
#DF5A49
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87277C

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

Preview Lab → · Contrast checker → · Palette generator →

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