#87108D#87108D

#87108D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.7% C 0.198 H 325.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#87108D
RGBrgb(135, 16, 141)
HSLhsl(297, 80%, 31%)
HSVhsv(297, 89%, 55%)
CMYKcmyk(4.3%, 88.7%, 0%, 44.7%)
CIE-LABlab(32.80, 59.76, -39.69)
CIE-LCHlch(32.80, 71.74, 326.41°)
OKLaboklab(44.72% 0.1636 -0.1107)
OKLCHoklch(44.72% 0.198 325.9)
XYZxyz(14.9844, 7.4456, 25.8421)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87108D #168D10
analogous
#48108D #87108D #8D1054
triadic
#87108D #8D8710 #108D87
tetradic
#87108D #8D4810 #168D10 #10548D
square
#87108D #8D4810 #168D10 #10548D
split-complementary
#87108D #548D10 #108D48
monochromatic
#1E041F #520A56 #87108D #BC16C4 #DF30E7

Accessibility & contrast

On white

8.44
#87108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#87108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87108D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87108D#FFFFFF#000000##FFFFFF
##87108D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#33528A
Tritanopia (blue-blind)
#8B2C53
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87108d;
/* rgb */ color: rgb(135, 16, 141);
/* oklch */ color: oklch(44.7% 0.198 325.9);
Tailwind
colors: {
  custom: {
    50: '#ae63af',
    500: '#87108d',
    950: '#000000',
  },
}
SCSS
$custom: #87108d;
$custom-light: #ae63af;
$custom-dark: #000000;
JSON
{
  "hex": "#87108d",
  "rgb": {
    "r": 135,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 297.12,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44724,
    "c": 0.19754,
    "h": 325.9
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#87108D
secondary
#3EC237
accent
#F6323B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #87108D

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

Preview Lab → · Contrast checker → · Palette generator →

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