#87288A#87288A

#87288A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.173 H 326.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#87288A
RGBrgb(135, 40, 138)
HSLhsl(298, 55%, 35%)
HSVhsv(298, 71%, 54%)
CMYKcmyk(2.2%, 71%, 0%, 45.9%)
CIE-LABlab(35.01, 52.33, -34.31)
CIE-LCHlch(35.01, 62.58, 326.75°)
OKLaboklab(46.24% 0.1445 -0.0952)
OKLCHoklch(46.24% 0.173 326.6)
XYZxyz(15.3376, 8.5045, 24.8735)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87288A #2B8A28
analogous
#56288A #87288A #8A285C
triadic
#87288A #8A8728 #288A87
tetradic
#87288A #8A5628 #2B8A28 #285C8A
square
#87288A #8A5628 #2B8A28 #285C8A
split-complementary
#87288A #5C8A28 #288A56
monochromatic
#2A0C2B #591A5B #87288A #B536B9 #CC5DD0

Accessibility & contrast

On white

7.78
#87288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#87288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87288A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87288A#FFFFFF#000000##FFFFFF
##87288A1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8D
Deuteranopia (green-blind)
#3F5688
Tritanopia (blue-blind)
#8B3756
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87288a;
/* rgb */ color: rgb(135, 40, 138);
/* oklch */ color: oklch(46.2% 0.173 326.6);
Tailwind
colors: {
  custom: {
    50: '#ad6bac',
    500: '#87288a',
    950: '#000000',
  },
}
SCSS
$custom: #87288a;
$custom-light: #ad6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#87288a",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 298.163,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46237,
    "c": 0.17302,
    "h": 326.6
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#87288A
secondary
#5BB559
accent
#DE494E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87288A

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

Preview Lab → · Contrast checker → · Palette generator →

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