#87488B#87488B

#87488B is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.4% C 0.125 H 325.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#87488B
RGBrgb(135, 72, 139)
HSLhsl(296, 32%, 41%)
HSVhsv(296, 48%, 55%)
CMYKcmyk(2.9%, 48.2%, 0%, 45.5%)
CIE-LABlab(40.66, 37.34, -26.04)
CIE-LCHlch(40.66, 45.52, 325.11°)
OKLaboklab(50.38% 0.1022 -0.0715)
OKLCHoklch(50.38% 0.125 325)
XYZxyz(16.9688, 11.6505, 25.7760)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87488B #4C8B48
analogous
#66488B #87488B #8B486E
triadic
#87488B #8B8748 #488B87
tetradic
#87488B #8B6648 #4C8B48 #486E8B
square
#87488B #8B6648 #4C8B48 #486E8B
split-complementary
#87488B #6E8B48 #488B66
monochromatic
#391E3A #603363 #87488B #A962AE #BF8BC3

Accessibility & contrast

On white

6.31
#87488B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#87488B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87488B
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87488B#FFFFFF#000000##FFFFFF
##87488B1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#536389
Tritanopia (blue-blind)
#8A5063
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #87488b;
/* rgb */ color: rgb(135, 72, 139);
/* oklch */ color: oklch(50.4% 0.125 325.0);
Tailwind
colors: {
  custom: {
    50: '#ab7dad',
    500: '#87488b',
    950: '#000000',
  },
}
SCSS
$custom: #87488b;
$custom-light: #ab7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#87488b",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 296.418,
    "s": 31.754,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.12476,
    "h": 325
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#87488B
secondary
#83AE80
accent
#C86066
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #87488B

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

Preview Lab → · Contrast checker → · Palette generator →

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