#87189F#87189F

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

Color values

HEX#87189F
RGBrgb(135, 24, 159)
HSLhsl(289, 74%, 36%)
HSVhsv(289, 85%, 62%)
CMYKcmyk(15.1%, 84.9%, 0%, 37.6%)
CIE-LABlab(34.62, 61.17, -47.78)
CIE-LCHlch(34.62, 77.62, 322.01°)
OKLaboklab(46.39% 0.1563 -0.1344)
OKLCHoklch(46.39% 0.206 319.3)
XYZxyz(16.5755, 8.3082, 33.5247)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87189F #309F18
analogous
#43189F #87189F #9F1873
triadic
#87189F #9F8718 #189F87
tetradic
#87189F #9F4318 #309F18 #18739F
square
#87189F #9F4318 #309F18 #18739F
split-complementary
#87189F #739F18 #189F43
monochromatic
#2D0835 #5A106A #87189F #B420D4 #C94DE4

Accessibility & contrast

On white

7.89
#87189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#87189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87189F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87189F#FFFFFF#000000##FFFFFF
##87189F1.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)
#004AA2
Deuteranopia (green-blind)
#24559C
Tritanopia (blue-blind)
#87395E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #87189f;
/* rgb */ color: rgb(135, 24, 159);
/* oklch */ color: oklch(46.4% 0.206 319.3);
Tailwind
colors: {
  custom: {
    50: '#ae66bc',
    500: '#87189f',
    950: '#000000',
  },
}
SCSS
$custom: #87189f;
$custom-light: #ae66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#87189f",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 289.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46387,
    "c": 0.20613,
    "h": 319.3
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#87189F
secondary
#62C64D
accent
#F03758
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87189F

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

Preview Lab → · Contrast checker → · Palette generator →

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