#87188D#87188D

#87188D is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.2% C 0.192 H 325.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#87188D
RGBrgb(135, 24, 141)
HSLhsl(297, 71%, 32%)
HSVhsv(297, 83%, 55%)
CMYKcmyk(4.3%, 83%, 0%, 44.7%)
CIE-LABlab(33.41, 57.98, -38.71)
CIE-LCHlch(33.41, 69.71, 326.27°)
OKLaboklab(45.15% 0.1587 -0.1079)
OKLCHoklch(45.15% 0.192 325.8)
XYZxyz(15.1257, 7.7283, 25.8892)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87188D #1E8D18
analogous
#4C188D #87188D #8D1859
triadic
#87188D #8D8718 #188D87
tetradic
#87188D #8D4C18 #1E8D18 #18598D
square
#87188D #8D4C18 #1E8D18 #18598D
split-complementary
#87188D #598D18 #188D4C
monochromatic
#230624 #550F59 #87188D #B921C1 #D741DF

Accessibility & contrast

On white

8.25
#87188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#87188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87188D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87188D#FFFFFF#000000##FFFFFF
##87188D1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#8A2F54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #87188d;
/* rgb */ color: rgb(135, 24, 141);
/* oklch */ color: oklch(45.2% 0.192 325.8);
Tailwind
colors: {
  custom: {
    50: '#ae65af',
    500: '#87188d',
    950: '#000000',
  },
}
SCSS
$custom: #87188d;
$custom-light: #ae65af;
$custom-dark: #000000;
JSON
{
  "hex": "#87188d",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 296.923,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.19186,
    "h": 325.8
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#87188D
secondary
#48BF42
accent
#EE3A43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #87188D

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

Preview Lab → · Contrast checker → · Palette generator →

#87188D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva