#87488C#87488C

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

Color values

HEX#87488C
RGBrgb(135, 72, 140)
HSLhsl(296, 32%, 42%)
HSVhsv(296, 49%, 55%)
CMYKcmyk(3.6%, 48.6%, 0%, 45.1%)
CIE-LABlab(40.70, 37.54, -26.57)
CIE-LCHlch(40.70, 45.99, 324.70°)
OKLaboklab(50.43% 0.1024 -0.0731)
OKLCHoklch(50.43% 0.126 324.5)
XYZxyz(17.0422, 11.6799, 26.1626)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87488C #4D8C48
analogous
#65488C #87488C #8C486F
triadic
#87488C #8C8748 #488C87
tetradic
#87488C #8C6548 #4D8C48 #486F8C
square
#87488C #8C6548 #4D8C48 #486F8C
split-complementary
#87488C #6F8C48 #488C65
monochromatic
#391E3B #603364 #87488C #A963AF #BF8BC3

Accessibility & contrast

On white

6.30
#87488C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #87488C
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87488C#FFFFFF#000000##FFFFFF
##87488C1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#52638A
Tritanopia (blue-blind)
#8A5063
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #87488c;
/* rgb */ color: rgb(135, 72, 140);
/* oklch */ color: oklch(50.4% 0.126 324.5);
Tailwind
colors: {
  custom: {
    50: '#ac7dae',
    500: '#87488c',
    950: '#000000',
  },
}
SCSS
$custom: #87488c;
$custom-light: #ac7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#87488c",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 295.588,
    "s": 32.075,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50429,
    "c": 0.1258,
    "h": 324.5
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#87488C
secondary
#84AF81
accent
#C86067
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #87488C

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

Preview Lab → · Contrast checker → · Palette generator →

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