#87208E#87208E

#87208E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.185 H 325.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#87208E
RGBrgb(135, 32, 142)
HSLhsl(296, 63%, 34%)
HSVhsv(296, 77%, 56%)
CMYKcmyk(4.9%, 77.5%, 0%, 44.3%)
CIE-LABlab(34.27, 55.85, -37.96)
CIE-LCHlch(34.27, 67.53, 325.80°)
OKLaboklab(45.78% 0.1522 -0.1057)
OKLCHoklch(45.78% 0.185 325.2)
XYZxyz(15.3903, 8.1379, 26.3461)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87208E #278E20
analogous
#50208E #87208E #8E205E
triadic
#87208E #8E8720 #208E87
tetradic
#87208E #8E5020 #278E20 #205E8E
square
#87208E #8E5020 #278E20 #205E8E
split-complementary
#87208E #5E8E20 #208E50
monochromatic
#28092A #58155C #87208E #B62BC0 #CF51D8

Accessibility & contrast

On white

7.99
#87208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87208E
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87208E#FFFFFF#000000##FFFFFF
##87208E1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#38558B
Tritanopia (blue-blind)
#8A3456
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #87208e;
/* rgb */ color: rgb(135, 32, 142);
/* oklch */ color: oklch(45.8% 0.185 325.2);
Tailwind
colors: {
  custom: {
    50: '#ae68af',
    500: '#87208e',
    950: '#000000',
  },
}
SCSS
$custom: #87208e;
$custom-light: #ae68af;
$custom-dark: #000000;
JSON
{
  "hex": "#87208e",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 296.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45783,
    "c": 0.18533,
    "h": 325.2
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#87208E
secondary
#56BB4F
accent
#E6424C
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #87208E

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

Preview Lab → · Contrast checker → · Palette generator →

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