#87179E#87179E

#87179E is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.3% C 0.206 H 319.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#87179E
RGBrgb(135, 23, 158)
HSLhsl(290, 75%, 35%)
HSVhsv(290, 85%, 62%)
CMYKcmyk(14.6%, 85.4%, 0%, 38%)
CIE-LABlab(34.46, 61.23, -47.42)
CIE-LCHlch(34.46, 77.45, 322.24°)
OKLaboklab(46.26% 0.1571 -0.1334)
OKLCHoklch(46.26% 0.206 319.7)
XYZxyz(16.4688, 8.2332, 33.0628)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87179E #2E9E17
analogous
#44179E #87179E #9E1771
triadic
#87179E #9E8717 #179E87
tetradic
#87179E #9E4417 #2E9E17 #17719E
square
#87179E #9E4417 #2E9E17 #17719E
split-complementary
#87179E #719E17 #179E44
monochromatic
#2C0733 #590F69 #87179E #B51FD3 #CA4BE5

Accessibility & contrast

On white

7.94
#87179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#87179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87179E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87179E#FFFFFF#000000##FFFFFF
##87179E1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#25559B
Tritanopia (blue-blind)
#87385E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #87179e;
/* rgb */ color: rgb(135, 23, 158);
/* oklch */ color: oklch(46.3% 0.206 319.7);
Tailwind
colors: {
  custom: {
    50: '#ae66bb',
    500: '#87179e',
    950: '#000000',
  },
}
SCSS
$custom: #87179e;
$custom-light: #ae66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#87179e",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 289.778,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.20605,
    "h": 319.7
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#87179E
secondary
#60C64A
accent
#F13756
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87179E

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

Preview Lab → · Contrast checker → · Palette generator →

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