#87488F#87488F

#87488F is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.6% C 0.129 H 323.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#87488F
RGBrgb(135, 72, 143)
HSLhsl(293, 33%, 42%)
HSVhsv(293, 50%, 56%)
CMYKcmyk(5.6%, 49.7%, 0%, 43.9%)
CIE-LABlab(40.85, 38.14, -28.17)
CIE-LCHlch(40.85, 47.42, 323.56°)
OKLaboklab(50.58% 0.1029 -0.0776)
OKLCHoklch(50.58% 0.129 323)
XYZxyz(17.2665, 11.7696, 27.3435)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87488F #508F48
analogous
#63488F #87488F #8F4874
triadic
#87488F #8F8748 #488F87
tetradic
#87488F #8F6348 #508F48 #48748F
square
#87488F #8F6348 #508F48 #48748F
split-complementary
#87488F #748F48 #488F63
monochromatic
#3A1F3E #613466 #87488F #A863B1 #BF8CC5

Accessibility & contrast

On white

6.26
#87488F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#87488F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87488F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87488F#FFFFFF#000000##FFFFFF
##87488F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5C91
Deuteranopia (green-blind)
#51638D
Tritanopia (blue-blind)
#895165
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #87488f;
/* rgb */ color: rgb(135, 72, 143);
/* oklch */ color: oklch(50.6% 0.129 323.0);
Tailwind
colors: {
  custom: {
    50: '#ac7db0',
    500: '#87488f',
    950: '#000000',
  },
}
SCSS
$custom: #87488f;
$custom-light: #ac7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#87488f",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 293.239,
    "s": 33.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50584,
    "c": 0.12891,
    "h": 323
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#87488F
secondary
#87B182
accent
#C95F6B
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #87488F

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

Preview Lab → · Contrast checker → · Palette generator →

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