#87197E#87197E

#87197E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.180 H 331.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#87197E
RGBrgb(135, 25, 126)
HSLhsl(305, 69%, 31%)
HSVhsv(305, 81%, 53%)
CMYKcmyk(0%, 81.5%, 6.7%, 47.1%)
CIE-LABlab(32.60, 55.24, -30.67)
CIE-LCHlch(32.60, 63.18, 330.96°)
OKLaboklab(44.29% 0.1585 -0.0845)
OKLCHoklch(44.29% 0.18 331.9)
XYZxyz(14.1052, 7.3537, 20.4111)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87197E #198722
analogous
#591987 #87197E #871947
triadic
#87197E #7E8719 #197E87
tetradic
#87197E #875919 #198722 #194787
square
#87197E #875919 #198722 #194787
split-complementary
#87197E #478719 #198759
monochromatic
#20061E #530F4E #87197E #BB23AE #DB3FCF

Accessibility & contrast

On white

8.50
#87197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#87197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87197E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87197E#FFFFFF#000000##FFFFFF
##87197E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#3F527B
Tritanopia (blue-blind)
#8D284B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87197e;
/* rgb */ color: rgb(135, 25, 126);
/* oklch */ color: oklch(44.3% 0.180 331.9);
Tailwind
colors: {
  custom: {
    50: '#ae65a4',
    500: '#87197e',
    950: '#000000',
  },
}
SCSS
$custom: #87197e;
$custom-light: #ae65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#87197e",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 304.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44287,
    "c": 0.1796,
    "h": 331.9
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#87197E
secondary
#41BA4B
accent
#EC4B3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #87197E

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

Preview Lab → · Contrast checker → · Palette generator →

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