#87208C#87208C

#87208C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.184 H 326.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#87208C
RGBrgb(135, 32, 140)
HSLhsl(297, 63%, 34%)
HSVhsv(297, 77%, 55%)
CMYKcmyk(3.6%, 77.1%, 0%, 45.1%)
CIE-LABlab(34.15, 55.50, -36.92)
CIE-LCHlch(34.15, 66.66, 326.37°)
OKLaboklab(45.66% 0.1523 -0.1027)
OKLCHoklch(45.66% 0.184 326)
XYZxyz(15.2415, 8.0784, 25.5624)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87208C #258C20
analogous
#51208C #87208C #8C205B
triadic
#87208C #8C8720 #208C87
tetradic
#87208C #8C5120 #258C20 #205B8C
square
#87208C #8C5120 #258C20 #205B8C
split-complementary
#87208C #5B8C20 #208C51
monochromatic
#270928 #57155A #87208C #B72BBE #D150D7

Accessibility & contrast

On white

8.03
#87208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#87208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87208C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87208C#FFFFFF#000000##FFFFFF
##87208C1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#3A5589
Tritanopia (blue-blind)
#8B3355
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87208c;
/* rgb */ color: rgb(135, 32, 140);
/* oklch */ color: oklch(45.7% 0.184 326.0);
Tailwind
colors: {
  custom: {
    50: '#ae68ae',
    500: '#87208c',
    950: '#000000',
  },
}
SCSS
$custom: #87208c;
$custom-light: #ae68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#87208c",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 297.222,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45656,
    "c": 0.18371,
    "h": 326
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#87208C
secondary
#53BA4E
accent
#E6424A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87208C

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

Preview Lab → · Contrast checker → · Palette generator →

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