#87209D#87209D

#87209D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.8% C 0.198 H 319.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#87209D
RGBrgb(135, 32, 157)
HSLhsl(289, 66%, 37%)
HSVhsv(289, 80%, 62%)
CMYKcmyk(14%, 79.6%, 0%, 38.4%)
CIE-LABlab(35.24, 58.58, -45.56)
CIE-LCHlch(35.24, 74.22, 322.13°)
OKLaboklab(46.78% 0.1508 -0.128)
OKLCHoklch(46.78% 0.198 319.7)
XYZxyz(16.5932, 8.6191, 32.6814)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87209D #369D20
analogous
#49209D #87209D #9D2075
triadic
#87209D #9D8720 #209D87
tetradic
#87209D #9D4920 #369D20 #20759D
square
#87209D #9D4920 #369D20 #20759D
split-complementary
#87209D #759D20 #209D49
monochromatic
#300B37 #5B166A #87209D #B32AD0 #C65ADD

Accessibility & contrast

On white

7.71
#87209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#87209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87209D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87209D#FFFFFF#000000##FFFFFF
##87209D1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#2B569A
Tritanopia (blue-blind)
#873B5F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87209d;
/* rgb */ color: rgb(135, 32, 157);
/* oklch */ color: oklch(46.8% 0.198 319.7);
Tailwind
colors: {
  custom: {
    50: '#ae69bb',
    500: '#87209d',
    950: '#000000',
  },
}
SCSS
$custom: #87209d;
$custom-light: #ae69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#87209d",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 289.44,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46782,
    "c": 0.19776,
    "h": 319.7
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#87209D
secondary
#6AC157
accent
#E93F5D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87209D

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

Preview Lab → · Contrast checker → · Palette generator →

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