#87199F#87199F

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

Color values

HEX#87199F
RGBrgb(135, 25, 159)
HSLhsl(289, 73%, 36%)
HSVhsv(289, 84%, 62%)
CMYKcmyk(15.1%, 84.3%, 0%, 37.6%)
CIE-LABlab(34.70, 60.92, -47.64)
CIE-LCHlch(34.70, 77.34, 321.97°)
OKLaboklab(46.45% 0.1556 -0.134)
OKLCHoklch(46.45% 0.205 319.3)
XYZxyz(16.5965, 8.3502, 33.5317)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87199F #319F19
analogous
#44199F #87199F #9F1974
triadic
#87199F #9F8719 #199F87
tetradic
#87199F #9F4419 #319F19 #19749F
square
#87199F #9F4419 #319F19 #19749F
split-complementary
#87199F #749F19 #199F44
monochromatic
#2D0835 #5A116A #87199F #B421D4 #C94FE3

Accessibility & contrast

On white

7.87
#87199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#87199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87199F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87199F#FFFFFF#000000##FFFFFF
##87199F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#25559C
Tritanopia (blue-blind)
#87395F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87199f;
/* rgb */ color: rgb(135, 25, 159);
/* oklch */ color: oklch(46.4% 0.205 319.3);
Tailwind
colors: {
  custom: {
    50: '#ae66bc',
    500: '#87199f',
    950: '#000000',
  },
}
SCSS
$custom: #87199f;
$custom-light: #ae66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#87199f",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 289.254,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46447,
    "c": 0.20537,
    "h": 319.3
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#87199F
secondary
#64C64E
accent
#F03859
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87199F

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

Preview Lab → · Contrast checker → · Palette generator →

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