#87207C#87207C

#87207C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.171 H 332.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#87207C
RGBrgb(135, 32, 124)
HSLhsl(306, 62%, 33%)
HSVhsv(306, 76%, 53%)
CMYKcmyk(0%, 76.3%, 8.1%, 47.1%)
CIE-LABlab(33.22, 52.81, -28.43)
CIE-LCHlch(33.22, 59.98, 331.70°)
OKLaboklab(44.7% 0.1523 -0.0781)
OKLCHoklch(44.7% 0.171 332.9)
XYZxyz(14.1463, 7.6403, 19.7946)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87207C #20872B
analogous
#5F2087 #87207C #872048
triadic
#87207C #7C8720 #207C87
tetradic
#87207C #875F20 #20872B #204887
square
#87207C #875F20 #20872B #204887
split-complementary
#87207C #488720 #20875F
monochromatic
#240921 #56144F #87207C #B82CA9 #D54DC6

Accessibility & contrast

On white

8.31
#87207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#87207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87207C
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87207C#FFFFFF#000000##FFFFFF
##87207C1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457E
Deuteranopia (green-blind)
#43537A
Tritanopia (blue-blind)
#8D2B4C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87207c;
/* rgb */ color: rgb(135, 32, 124);
/* oklch */ color: oklch(44.7% 0.171 332.9);
Tailwind
colors: {
  custom: {
    50: '#ad67a2',
    500: '#87207c',
    950: '#000000',
  },
}
SCSS
$custom: #87207c;
$custom-light: #ad67a2;
$custom-dark: #000000;
JSON
{
  "hex": "#87207c",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 306.408,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.17111,
    "h": 332.9
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#87207C
secondary
#4BB857
accent
#E55443
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87207C

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

Preview Lab → · Contrast checker → · Palette generator →

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