#87147A#87147A

#87147A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.181 H 333.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#87147A
RGBrgb(135, 20, 122)
HSLhsl(307, 74%, 30%)
HSVhsv(307, 85%, 53%)
CMYKcmyk(0%, 85.2%, 9.6%, 47.1%)
CIE-LABlab(31.94, 55.88, -29.20)
CIE-LCHlch(31.94, 63.05, 332.41°)
OKLaboklab(43.74% 0.1621 -0.0802)
OKLCHoklch(43.74% 0.181 333.7)
XYZxyz(13.7548, 7.0576, 19.0464)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87147A #148721
analogous
#5B1487 #87147A #871440
triadic
#87147A #7A8714 #147A87
tetradic
#87147A #875B14 #148721 #144087
square
#87147A #875B14 #148721 #144087
split-complementary
#87147A #408714 #14875B
monochromatic
#1C041A #520C4A #87147A #BC1CAA #E134CD

Accessibility & contrast

On white

8.71
#87147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#87147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87147A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87147A#FFFFFF#000000##FFFFFF
##87147A1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417D
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#8E2248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #87147a;
/* rgb */ color: rgb(135, 20, 122);
/* oklch */ color: oklch(43.7% 0.181 333.7);
Tailwind
colors: {
  custom: {
    50: '#ae63a1',
    500: '#87147a',
    950: '#000000',
  },
}
SCSS
$custom: #87147a;
$custom-light: #ae63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#87147a",
  "rgb": {
    "r": 135,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 306.783,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.18087,
    "h": 333.7
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#87147A
secondary
#3BBB4A
accent
#F14C37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #87147A

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

Preview Lab → · Contrast checker → · Palette generator →

#87147A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva