#87207F#87207F

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

Color values

HEX#87207F
RGBrgb(135, 32, 127)
HSLhsl(305, 62%, 33%)
HSVhsv(305, 76%, 53%)
CMYKcmyk(0%, 76.3%, 5.9%, 47.1%)
CIE-LABlab(33.39, 53.30, -30.05)
CIE-LCHlch(33.39, 61.19, 330.58°)
OKLaboklab(44.87% 0.1524 -0.0828)
OKLCHoklch(44.87% 0.173 331.5)
XYZxyz(14.3390, 7.7174, 20.8090)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87207F #208728
analogous
#5B2087 #87207F #87204C
triadic
#87207F #7F8720 #207F87
tetradic
#87207F #875B20 #208728 #204C87
square
#87207F #875B20 #208728 #204C87
split-complementary
#87207F #4C8720 #20875B
monochromatic
#240922 #561450 #87207F #B82CAE #D54DCA

Accessibility & contrast

On white

8.26
#87207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87207F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87207F#FFFFFF#000000##FFFFFF
##87207F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174582
Deuteranopia (green-blind)
#41547D
Tritanopia (blue-blind)
#8D2D4E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87207f;
/* rgb */ color: rgb(135, 32, 127);
/* oklch */ color: oklch(44.9% 0.173 331.5);
Tailwind
colors: {
  custom: {
    50: '#ad67a4',
    500: '#87207f',
    950: '#000000',
  },
}
SCSS
$custom: #87207f;
$custom-light: #ad67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#87207f",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 304.66,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44869,
    "c": 0.17341,
    "h": 331.5
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#87207F
secondary
#4BB854
accent
#E55043
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87207F

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

Preview Lab → · Contrast checker → · Palette generator →

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