#87208F#87208F

#87208F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.186 H 324.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#87208F
RGBrgb(135, 32, 143)
HSLhsl(296, 63%, 34%)
HSVhsv(296, 78%, 56%)
CMYKcmyk(5.6%, 77.6%, 0%, 43.9%)
CIE-LABlab(34.33, 56.03, -38.47)
CIE-LCHlch(34.33, 67.97, 325.52°)
OKLaboklab(45.85% 0.1522 -0.1072)
OKLCHoklch(45.85% 0.186 324.8)
XYZxyz(15.4657, 8.1681, 26.7433)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87208F #288F20
analogous
#50208F #87208F #8F2060
triadic
#87208F #8F8720 #208F87
tetradic
#87208F #8F5020 #288F20 #20608F
square
#87208F #8F5020 #288F20 #20608F
split-complementary
#87208F #608F20 #208F50
monochromatic
#290A2B #58155D #87208F #B62BC1 #CE51D8

Accessibility & contrast

On white

7.97
#87208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#87208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87208F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87208F#FFFFFF#000000##FFFFFF
##87208F1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#37558C
Tritanopia (blue-blind)
#8A3557
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #87208f;
/* rgb */ color: rgb(135, 32, 143);
/* oklch */ color: oklch(45.8% 0.186 324.8);
Tailwind
colors: {
  custom: {
    50: '#ae68b0',
    500: '#87208f',
    950: '#000000',
  },
}
SCSS
$custom: #87208f;
$custom-light: #ae68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#87208f",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 295.676,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.18614,
    "h": 324.8
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#87208F
secondary
#57BB4F
accent
#E6414D
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #87208F

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

Preview Lab → · Contrast checker → · Palette generator →

#87208F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva