#87288E#87288E

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

Color values

HEX#87288E
RGBrgb(135, 40, 142)
HSLhsl(296, 56%, 36%)
HSVhsv(296, 72%, 56%)
CMYKcmyk(4.9%, 71.8%, 0%, 44.3%)
CIE-LABlab(35.25, 53.06, -36.40)
CIE-LCHlch(35.25, 64.34, 325.55°)
OKLaboklab(46.48% 0.1445 -0.1012)
OKLCHoklch(46.48% 0.176 325)
XYZxyz(15.6326, 8.6225, 26.4269)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87288E #2F8E28
analogous
#54288E #87288E #8E2862
triadic
#87288E #8E8728 #288E87
tetradic
#87288E #8E5428 #2F8E28 #28628E
square
#87288E #8E5428 #2F8E28 #28628E
split-complementary
#87288E #628E28 #288E54
monochromatic
#2C0D2F #5A1B5E #87288E #B435BE #CA5FD2

Accessibility & contrast

On white

7.71
#87288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87288E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87288E#FFFFFF#000000##FFFFFF
##87288E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B91
Deuteranopia (green-blind)
#3C578B
Tritanopia (blue-blind)
#8A3958
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87288e;
/* rgb */ color: rgb(135, 40, 142);
/* oklch */ color: oklch(46.5% 0.176 325.0);
Tailwind
colors: {
  custom: {
    50: '#ad6baf',
    500: '#87288e',
    950: '#000000',
  },
}
SCSS
$custom: #87288e;
$custom-light: #ad6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#87288e",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 295.882,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46481,
    "c": 0.17642,
    "h": 325
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#87288E
secondary
#61B75B
accent
#DF4853
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87288E

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

Preview Lab → · Contrast checker → · Palette generator →

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