#87209B#87209B

#87209B is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.196 H 320.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#87209B
RGBrgb(135, 32, 155)
HSLhsl(290, 66%, 37%)
HSVhsv(290, 79%, 61%)
CMYKcmyk(12.9%, 79.4%, 0%, 39.2%)
CIE-LABlab(35.11, 58.21, -44.57)
CIE-LCHlch(35.11, 73.31, 322.56°)
OKLaboklab(46.64% 0.151 -0.125)
OKLCHoklch(46.64% 0.196 320.4)
XYZxyz(16.4239, 8.5514, 31.7895)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87209B #349B20
analogous
#4A209B #87209B #9B2072
triadic
#87209B #9B8720 #209B87
tetradic
#87209B #9B4A20 #349B20 #20729B
square
#87209B #9B4A20 #349B20 #20729B
split-complementary
#87209B #729B20 #209B4A
monochromatic
#2F0B36 #5B1668 #87209B #B32ACE #C759DD

Accessibility & contrast

On white

7.75
#87209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#87209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87209B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87209B#FFFFFF#000000##FFFFFF
##87209B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#2D5698
Tritanopia (blue-blind)
#883A5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87209b;
/* rgb */ color: rgb(135, 32, 155);
/* oklch */ color: oklch(46.6% 0.196 320.4);
Tailwind
colors: {
  custom: {
    50: '#ae69b9',
    500: '#87209b',
    950: '#000000',
  },
}
SCSS
$custom: #87209b;
$custom-light: #ae69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#87209b",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 290.244,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.19608,
    "h": 320.4
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#87209B
secondary
#67C156
accent
#E93F5B
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87209B

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

Preview Lab → · Contrast checker → · Palette generator →

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