#87207E#87207E

#87207E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.173 H 331.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#87207E
RGBrgb(135, 32, 126)
HSLhsl(305, 62%, 33%)
HSVhsv(305, 76%, 53%)
CMYKcmyk(0%, 76.3%, 6.7%, 47.1%)
CIE-LABlab(33.33, 53.13, -29.51)
CIE-LCHlch(33.33, 60.78, 330.95°)
OKLaboklab(44.81% 0.1524 -0.0812)
OKLCHoklch(44.81% 0.173 331.9)
XYZxyz(14.2741, 7.6915, 20.4674)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87207E #208729
analogous
#5D2087 #87207E #87204A
triadic
#87207E #7E8720 #207E87
tetradic
#87207E #875D20 #208729 #204A87
square
#87207E #875D20 #208729 #204A87
split-complementary
#87207E #4A8720 #20875D
monochromatic
#240922 #561450 #87207E #B82CAC #D54DC9

Accessibility & contrast

On white

8.27
#87207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#87207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87207E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87207E#FFFFFF#000000##FFFFFF
##87207E1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184581
Deuteranopia (green-blind)
#42537C
Tritanopia (blue-blind)
#8D2C4D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87207e;
/* rgb */ color: rgb(135, 32, 126);
/* oklch */ color: oklch(44.8% 0.173 331.9);
Tailwind
colors: {
  custom: {
    50: '#ad67a4',
    500: '#87207e',
    950: '#000000',
  },
}
SCSS
$custom: #87207e;
$custom-light: #ad67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#87207e",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 305.243,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.17264,
    "h": 331.9
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#87207E
secondary
#4BB855
accent
#E55143
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87207E

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

Preview Lab → · Contrast checker → · Palette generator →

#87207E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva