#87208A#87208A

#87208A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.182 H 326.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#87208A
RGBrgb(135, 32, 138)
HSLhsl(298, 62%, 33%)
HSVhsv(298, 77%, 54%)
CMYKcmyk(2.2%, 76.8%, 0%, 45.9%)
CIE-LABlab(34.02, 55.15, -35.88)
CIE-LCHlch(34.02, 65.79, 326.95°)
OKLaboklab(45.53% 0.1524 -0.0997)
OKLCHoklch(45.53% 0.182 326.8)
XYZxyz(15.0954, 8.0200, 24.7928)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87208A #238A20
analogous
#52208A #87208A #8A2058
triadic
#87208A #8A8720 #208A87
tetradic
#87208A #8A5220 #238A20 #20588A
square
#87208A #8A5220 #238A20 #20588A
split-complementary
#87208A #588A20 #208A52
monochromatic
#260927 #561458 #87208A #B82CBC #D24ED6

Accessibility & contrast

On white

8.07
#87208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#87208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87208A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87208A#FFFFFF#000000##FFFFFF
##87208A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#3B5487
Tritanopia (blue-blind)
#8B3254
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87208a;
/* rgb */ color: rgb(135, 32, 138);
/* oklch */ color: oklch(45.5% 0.182 326.8);
Tailwind
colors: {
  custom: {
    50: '#ad68ad',
    500: '#87208a',
    950: '#000000',
  },
}
SCSS
$custom: #87208a;
$custom-light: #ad68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#87208a",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 298.302,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4553,
    "c": 0.18209,
    "h": 326.8
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#87208A
secondary
#50B94D
accent
#E54247
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87208A

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

Preview Lab → · Contrast checker → · Palette generator →

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