#87278D#87278D

#87278D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.177 H 325.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#87278D
RGBrgb(135, 39, 141)
HSLhsl(296, 57%, 35%)
HSVhsv(296, 72%, 55%)
CMYKcmyk(4.3%, 72.3%, 0%, 44.7%)
CIE-LABlab(35.06, 53.25, -36.09)
CIE-LCHlch(35.06, 64.33, 325.87°)
OKLaboklab(46.33% 0.1455 -0.1003)
OKLCHoklch(46.33% 0.177 325.4)
XYZxyz(15.5246, 8.5260, 26.0221)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87278D #2D8D27
analogous
#54278D #87278D #8D2760
triadic
#87278D #8D8727 #278D87
tetradic
#87278D #8D5427 #2D8D27 #27608D
square
#87278D #8D5427 #2D8D27 #27608D
split-complementary
#87278D #608D27 #278D54
monochromatic
#2B0C2D #591A5D #87278D #B534BD #CB5CD2

Accessibility & contrast

On white

7.76
#87278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#87278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87278D
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87278D#FFFFFF#000000##FFFFFF
##87278D1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B90
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#8A3857
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87278d;
/* rgb */ color: rgb(135, 39, 141);
/* oklch */ color: oklch(46.3% 0.177 325.4);
Tailwind
colors: {
  custom: {
    50: '#ad6baf',
    500: '#87278d',
    950: '#000000',
  },
}
SCSS
$custom: #87278d;
$custom-light: #ad6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#87278d",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 296.471,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46325,
    "c": 0.17676,
    "h": 325.4
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#87278D
secondary
#5EB759
accent
#E04851
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87278D

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

Preview Lab → · Contrast checker → · Palette generator →

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