#87187A#87187A

#87187A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.178 H 333.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#87187A
RGBrgb(135, 24, 122)
HSLhsl(307, 70%, 31%)
HSVhsv(307, 82%, 53%)
CMYKcmyk(0%, 82.2%, 9.6%, 47.1%)
CIE-LABlab(32.28, 54.88, -28.66)
CIE-LCHlch(32.28, 61.92, 332.43°)
OKLaboklab(43.99% 0.1592 -0.0787)
OKLCHoklch(43.99% 0.178 333.7)
XYZxyz(13.8313, 7.2105, 19.0719)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87187A #188725
analogous
#5C1887 #87187A #871842
triadic
#87187A #7A8718 #187A87
tetradic
#87187A #875C18 #188725 #184287
square
#87187A #875C18 #188725 #184287
split-complementary
#87187A #428718 #18875C
monochromatic
#1F061C #530F4B #87187A #BB21A9 #DC3DCA

Accessibility & contrast

On white

8.60
#87187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#87187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87187A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87187A#FFFFFF#000000##FFFFFF
##87187A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427D
Deuteranopia (green-blind)
#415177
Tritanopia (blue-blind)
#8E2549
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #87187a;
/* rgb */ color: rgb(135, 24, 122);
/* oklch */ color: oklch(44.0% 0.178 333.7);
Tailwind
colors: {
  custom: {
    50: '#ae64a1',
    500: '#87187a',
    950: '#000000',
  },
}
SCSS
$custom: #87187a;
$custom-light: #ae64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#87187a",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 307.027,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.17756,
    "h": 333.7
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#87187A
secondary
#40BB4E
accent
#ED503B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #87187A

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

Preview Lab → · Contrast checker → · Palette generator →

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