#87198E#87198E

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

Color values

HEX#87198E
RGBrgb(135, 25, 142)
HSLhsl(296, 70%, 33%)
HSVhsv(296, 82%, 56%)
CMYKcmyk(4.9%, 82.4%, 0%, 44.3%)
CIE-LABlab(33.56, 57.89, -39.09)
CIE-LCHlch(33.56, 69.85, 325.97°)
OKLaboklab(45.28% 0.1579 -0.109)
OKLCHoklch(45.28% 0.192 325.4)
XYZxyz(15.2214, 7.8002, 26.2898)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87198E #208E19
analogous
#4C198E #87198E #8E195B
triadic
#87198E #8E8719 #198E87
tetradic
#87198E #8E4C19 #208E19 #195B8E
square
#87198E #8E4C19 #208E19 #195B8E
split-complementary
#87198E #5B8E19 #198E4C
monochromatic
#240726 #56105A #87198E #B822C2 #D543DE

Accessibility & contrast

On white

8.20
#87198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#87198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87198E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87198E#FFFFFF#000000##FFFFFF
##87198E1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87198e;
/* rgb */ color: rgb(135, 25, 142);
/* oklch */ color: oklch(45.3% 0.192 325.4);
Tailwind
colors: {
  custom: {
    50: '#ae66b0',
    500: '#87198e',
    950: '#000000',
  },
}
SCSS
$custom: #87198e;
$custom-light: #ae66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#87198e",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 296.41,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.19182,
    "h": 325.4
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#87198E
secondary
#4BBF44
accent
#ED3B46
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #87198E

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

Preview Lab → · Contrast checker → · Palette generator →

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