#87488D#87488D

#87488D is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.5% C 0.127 H 324.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#87488D
RGBrgb(135, 72, 141)
HSLhsl(295, 32%, 42%)
HSVhsv(295, 49%, 55%)
CMYKcmyk(4.3%, 48.9%, 0%, 44.7%)
CIE-LABlab(40.75, 37.74, -27.11)
CIE-LCHlch(40.75, 46.47, 324.31°)
OKLaboklab(50.48% 0.1026 -0.0746)
OKLCHoklch(50.48% 0.127 324)
XYZxyz(17.1163, 11.7095, 26.5527)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87488D #4E8D48
analogous
#65488D #87488D #8D4871
triadic
#87488D #8D8748 #488D87
tetradic
#87488D #8D6548 #4E8D48 #48718D
square
#87488D #8D6548 #4E8D48 #48718D
split-complementary
#87488D #718D48 #488D65
monochromatic
#391F3C #603364 #87488D #A963AF #BF8BC4

Accessibility & contrast

On white

6.28
#87488D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#87488D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87488D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87488D#FFFFFF#000000##FFFFFF
##87488D1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8F
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#895064
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #87488d;
/* rgb */ color: rgb(135, 72, 141);
/* oklch */ color: oklch(50.5% 0.127 324.0);
Tailwind
colors: {
  custom: {
    50: '#ac7dae',
    500: '#87488d',
    950: '#000000',
  },
}
SCSS
$custom: #87488d;
$custom-light: #ac7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#87488d",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 294.783,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5048,
    "c": 0.12682,
    "h": 324
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#87488D
secondary
#85B081
accent
#C95F68
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #87488D

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

Preview Lab → · Contrast checker → · Palette generator →

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