#87208D#87208D

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

Color values

HEX#87208D
RGBrgb(135, 32, 141)
HSLhsl(297, 63%, 34%)
HSVhsv(297, 77%, 55%)
CMYKcmyk(4.3%, 77.3%, 0%, 44.7%)
CIE-LABlab(34.21, 55.67, -37.44)
CIE-LCHlch(34.21, 67.09, 326.08°)
OKLaboklab(45.72% 0.1523 -0.1042)
OKLCHoklch(45.72% 0.185 325.6)
XYZxyz(15.3156, 8.1080, 25.9525)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87208D #268D20
analogous
#51208D #87208D #8D205D
triadic
#87208D #8D8720 #208D87
tetradic
#87208D #8D5120 #268D20 #205D8D
square
#87208D #8D5120 #268D20 #205D8D
split-complementary
#87208D #5D8D20 #208D51
monochromatic
#270929 #57155B #87208D #B72BBF #D050D7

Accessibility & contrast

On white

8.01
#87208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87208D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87208D#FFFFFF#000000##FFFFFF
##87208D1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#39558A
Tritanopia (blue-blind)
#8A3456
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87208d;
/* rgb */ color: rgb(135, 32, 141);
/* oklch */ color: oklch(45.7% 0.185 325.6);
Tailwind
colors: {
  custom: {
    50: '#ae68af',
    500: '#87208d',
    950: '#000000',
  },
}
SCSS
$custom: #87208d;
$custom-light: #ae68af;
$custom-dark: #000000;
JSON
{
  "hex": "#87208d",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 296.697,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45719,
    "c": 0.18452,
    "h": 325.6
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#87208D
secondary
#54BA4E
accent
#E6424B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87208D

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

Preview Lab → · Contrast checker → · Palette generator →

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