#87288D#87288D

#87288D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.176 H 325.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#87288D
RGBrgb(135, 40, 141)
HSLhsl(296, 56%, 35%)
HSVhsv(296, 72%, 55%)
CMYKcmyk(4.3%, 71.6%, 0%, 44.7%)
CIE-LABlab(35.19, 52.87, -35.88)
CIE-LCHlch(35.19, 63.90, 325.84°)
OKLaboklab(46.42% 0.1445 -0.0997)
OKLCHoklch(46.42% 0.176 325.4)
XYZxyz(15.5578, 8.5926, 26.0332)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87288D #2E8D28
analogous
#55288D #87288D #8D2860
triadic
#87288D #8D8728 #288D87
tetradic
#87288D #8D5528 #2E8D28 #28608D
square
#87288D #8D5528 #2E8D28 #28608D
split-complementary
#87288D #608D28 #288D55
monochromatic
#2C0D2E #591A5D #87288D #B536BD #CA5ED1

Accessibility & contrast

On white

7.73
#87288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#87288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87288D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87288D#FFFFFF#000000##FFFFFF
##87288D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#3D578A
Tritanopia (blue-blind)
#8A3858
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87288d;
/* rgb */ color: rgb(135, 40, 141);
/* oklch */ color: oklch(46.4% 0.176 325.4);
Tailwind
colors: {
  custom: {
    50: '#ad6baf',
    500: '#87288d',
    950: '#000000',
  },
}
SCSS
$custom: #87288d;
$custom-light: #ad6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#87288d",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 296.436,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.17556,
    "h": 325.4
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#87288D
secondary
#60B75A
accent
#DF4952
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87288D

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

Preview Lab → · Contrast checker → · Palette generator →

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