#87199E#87199E

#87199E is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.4% C 0.205 H 319.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#87199E
RGBrgb(135, 25, 158)
HSLhsl(290, 73%, 36%)
HSVhsv(290, 84%, 62%)
CMYKcmyk(14.6%, 84.2%, 0%, 38%)
CIE-LABlab(34.63, 60.74, -47.15)
CIE-LCHlch(34.63, 76.89, 322.18°)
OKLaboklab(46.38% 0.1558 -0.1326)
OKLCHoklch(46.38% 0.205 319.6)
XYZxyz(16.5101, 8.3156, 33.0766)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87199E #309E19
analogous
#44199E #87199E #9E1972
triadic
#87199E #9E8719 #199E87
tetradic
#87199E #9E4419 #309E19 #19729E
square
#87199E #9E4419 #309E19 #19729E
split-complementary
#87199E #729E19 #199E44
monochromatic
#2D0834 #5A1169 #87199E #B421D3 #C94EE3

Accessibility & contrast

On white

7.89
#87199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#87199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87199E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87199E#FFFFFF#000000##FFFFFF
##87199E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87199e;
/* rgb */ color: rgb(135, 25, 158);
/* oklch */ color: oklch(46.4% 0.205 319.6);
Tailwind
colors: {
  custom: {
    50: '#ae66bb',
    500: '#87199e',
    950: '#000000',
  },
}
SCSS
$custom: #87199e;
$custom-light: #ae66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#87199e",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 289.624,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.20456,
    "h": 319.6
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#87199E
secondary
#62C54E
accent
#EF3858
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87199E

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

Preview Lab → · Contrast checker → · Palette generator →

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