#87188E#87188E

#87188E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.193 H 325.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#87188E
RGBrgb(135, 24, 142)
HSLhsl(296, 71%, 33%)
HSVhsv(296, 83%, 56%)
CMYKcmyk(4.9%, 83.1%, 0%, 44.3%)
CIE-LABlab(33.47, 58.15, -39.23)
CIE-LCHlch(33.47, 70.14, 326.00°)
OKLaboklab(45.22% 0.1586 -0.1094)
OKLCHoklch(45.22% 0.193 325.4)
XYZxyz(15.2004, 7.7582, 26.2828)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87188E #1F8E18
analogous
#4C188E #87188E #8E185A
triadic
#87188E #8E8718 #188E87
tetradic
#87188E #8E4C18 #1F8E18 #185A8E
square
#87188E #8E4C18 #1F8E18 #185A8E
split-complementary
#87188E #5A8E18 #188E4C
monochromatic
#230625 #550F5A #87188E #B921C2 #D641DF

Accessibility & contrast

On white

8.23
#87188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87188E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87188E#FFFFFF#000000##FFFFFF
##87188E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#8A3054
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #87188e;
/* rgb */ color: rgb(135, 24, 142);
/* oklch */ color: oklch(45.2% 0.193 325.4);
Tailwind
colors: {
  custom: {
    50: '#ae65b0',
    500: '#87188e',
    950: '#000000',
  },
}
SCSS
$custom: #87188e;
$custom-light: #ae65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#87188e",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 296.441,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45219,
    "c": 0.19264,
    "h": 325.4
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#87188E
secondary
#4AC042
accent
#EE3A45
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #87188E

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

Preview Lab → · Contrast checker → · Palette generator →

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