#87197B#87197B

#87197B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.177 H 333.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#87197B
RGBrgb(135, 25, 123)
HSLhsl(307, 69%, 31%)
HSVhsv(307, 81%, 53%)
CMYKcmyk(0%, 81.5%, 8.9%, 47.1%)
CIE-LABlab(32.43, 54.77, -29.05)
CIE-LCHlch(32.43, 62.00, 332.06°)
OKLaboklab(44.11% 0.1584 -0.0798)
OKLCHoklch(44.11% 0.177 333.3)
XYZxyz(13.9146, 7.2774, 19.4069)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87197B #198725
analogous
#5C1987 #87197B #871944
triadic
#87197B #7B8719 #197B87
tetradic
#87197B #875C19 #198725 #194487
square
#87197B #875C19 #198725 #194487
split-complementary
#87197B #448719 #19875C
monochromatic
#20061D #530F4C #87197B #BB23AA #DB3FCA

Accessibility & contrast

On white

8.55
#87197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#87197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87197B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87197B#FFFFFF#000000##FFFFFF
##87197B1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427E
Deuteranopia (green-blind)
#415278
Tritanopia (blue-blind)
#8D264A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #87197b;
/* rgb */ color: rgb(135, 25, 123);
/* oklch */ color: oklch(44.1% 0.177 333.3);
Tailwind
colors: {
  custom: {
    50: '#ae65a1',
    500: '#87197b',
    950: '#000000',
  },
}
SCSS
$custom: #87197b;
$custom-light: #ae65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#87197b",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 306.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44112,
    "c": 0.17739,
    "h": 333.3
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#87197B
secondary
#41BA4F
accent
#EC4F3C
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #87197B

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

Preview Lab → · Contrast checker → · Palette generator →

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