#87479A#87479A

#87479A is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.0% C 0.142 H 318.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#87479A
RGBrgb(135, 71, 154)
HSLhsl(286, 37%, 44%)
HSVhsv(286, 54%, 60%)
CMYKcmyk(12.3%, 53.9%, 0%, 39.6%)
CIE-LABlab(41.20, 40.98, -34.25)
CIE-LCHlch(41.20, 53.41, 320.11°)
OKLaboklab(51.03% 0.1058 -0.0952)
OKLCHoklch(51.03% 0.142 318)
XYZxyz(18.0768, 11.9911, 31.9279)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87479A #5A9A47
analogous
#5E479A #87479A #9A4784
triadic
#87479A #9A8747 #479A87
tetradic
#87479A #9A5E47 #5A9A47 #47849A
square
#87479A #9A5E47 #5A9A47 #47849A
split-complementary
#87479A #849A47 #479A5E
monochromatic
#3E2046 #623470 #87479A #A566B8 #BE90CC

Accessibility & contrast

On white

6.18
#87479A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#87479A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87479A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87479A#FFFFFF#000000##FFFFFF
##87479A1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9D
Deuteranopia (green-blind)
#4B6398
Tritanopia (blue-blind)
#87536A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #87479a;
/* rgb */ color: rgb(135, 71, 154);
/* oklch */ color: oklch(51.0% 0.142 318.0);
Tailwind
colors: {
  custom: {
    50: '#ac7db8',
    500: '#87479a',
    950: '#000000',
  },
}
SCSS
$custom: #87479a;
$custom-light: #ac7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#87479a",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 286.265,
    "s": 36.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.14235,
    "h": 318
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#87479A
secondary
#91B785
accent
#CD5B75
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #87479A

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

Preview Lab → · Contrast checker → · Palette generator →

#87479A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva