#87208B#87208B

#87208B is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.183 H 326.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#87208B
RGBrgb(135, 32, 139)
HSLhsl(298, 63%, 34%)
HSVhsv(298, 77%, 55%)
CMYKcmyk(2.9%, 77%, 0%, 45.5%)
CIE-LABlab(34.08, 55.32, -36.40)
CIE-LCHlch(34.08, 66.23, 326.66°)
OKLaboklab(45.59% 0.1524 -0.1012)
OKLCHoklch(45.59% 0.183 326.4)
XYZxyz(15.1681, 8.0491, 25.1758)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87208B #248B20
analogous
#51208B #87208B #8B2059
triadic
#87208B #8B8720 #208B87
tetradic
#87208B #8B5120 #248B20 #20598B
square
#87208B #8B5120 #248B20 #20598B
split-complementary
#87208B #598B20 #208B51
monochromatic
#260928 #571559 #87208B #B72BBD #D14FD6

Accessibility & contrast

On white

8.05
#87208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#87208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87208B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87208B#FFFFFF#000000##FFFFFF
##87208B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#3A5588
Tritanopia (blue-blind)
#8B3354
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87208b;
/* rgb */ color: rgb(135, 32, 139);
/* oklch */ color: oklch(45.6% 0.183 326.4);
Tailwind
colors: {
  custom: {
    50: '#ad68ad',
    500: '#87208b',
    950: '#000000',
  },
}
SCSS
$custom: #87208b;
$custom-light: #ad68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#87208b",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 297.757,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45593,
    "c": 0.1829,
    "h": 326.4
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#87208B
secondary
#51BA4D
accent
#E64248
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87208B

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

Preview Lab → · Contrast checker → · Palette generator →

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