#87489C#87489C

#87489C is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.3% C 0.143 H 317.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#87489C
RGBrgb(135, 72, 156)
HSLhsl(285, 37%, 45%)
HSVhsv(285, 54%, 61%)
CMYKcmyk(13.5%, 53.8%, 0%, 38.8%)
CIE-LABlab(41.51, 40.87, -34.96)
CIE-LCHlch(41.51, 53.78, 319.46°)
OKLaboklab(51.29% 0.1046 -0.0973)
OKLCHoklch(51.29% 0.143 317.1)
XYZxyz(18.3089, 12.1866, 32.8338)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87489C #5D9C48
analogous
#5D489C #87489C #9C4887
triadic
#87489C #9C8748 #489C87
tetradic
#87489C #9C5D48 #5D9C48 #48879C
square
#87489C #9C5D48 #5D9C48 #48879C
split-complementary
#87489C #879C48 #489C5D
monochromatic
#3F2148 #633572 #87489C #A568B9 #BE92CD

Accessibility & contrast

On white

6.11
#87489C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#87489C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87489C
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87489C#FFFFFF#000000##FFFFFF
##87489C1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#4A649A
Tritanopia (blue-blind)
#86556B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #87489c;
/* rgb */ color: rgb(135, 72, 156);
/* oklch */ color: oklch(51.3% 0.143 317.1);
Tailwind
colors: {
  custom: {
    50: '#ac7eb9',
    500: '#87489c',
    950: '#000000',
  },
}
SCSS
$custom: #87489c;
$custom-light: #ac7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#87489c",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 285,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51291,
    "c": 0.14285,
    "h": 317.1
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#87489C
secondary
#94B887
accent
#CD5B77
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #87489C

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

Preview Lab → · Contrast checker → · Palette generator →

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