#87207B#87207B

#87207B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.170 H 333.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#87207B
RGBrgb(135, 32, 123)
HSLhsl(307, 62%, 33%)
HSVhsv(307, 76%, 53%)
CMYKcmyk(0%, 76.3%, 8.9%, 47.1%)
CIE-LABlab(33.17, 52.65, -27.89)
CIE-LCHlch(33.17, 59.58, 332.09°)
OKLaboklab(44.64% 0.1522 -0.0765)
OKLCHoklch(44.64% 0.17 333.3)
XYZxyz(14.0834, 7.6152, 19.4632)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87207B #20872C
analogous
#5F2087 #87207B #872048
triadic
#87207B #7B8720 #207B87
tetradic
#87207B #875F20 #20872C #204887
square
#87207B #875F20 #20872C #204887
split-complementary
#87207B #488720 #20875F
monochromatic
#240921 #56144E #87207B #B82CA8 #D54DC5

Accessibility & contrast

On white

8.32
#87207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#87207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87207B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87207B#FFFFFF#000000##FFFFFF
##87207B1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457D
Deuteranopia (green-blind)
#435379
Tritanopia (blue-blind)
#8D2B4C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87207b;
/* rgb */ color: rgb(135, 32, 123);
/* oklch */ color: oklch(44.6% 0.170 333.3);
Tailwind
colors: {
  custom: {
    50: '#ad67a1',
    500: '#87207b',
    950: '#000000',
  },
}
SCSS
$custom: #87207b;
$custom-light: #ad67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#87207b",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 306.99,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.17035,
    "h": 333.3
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#87207B
secondary
#4BB858
accent
#E55643
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #87207B

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

Preview Lab → · Contrast checker → · Palette generator →

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