#87489B#87489B

#87489B is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.2% C 0.142 H 317.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#87489B
RGBrgb(135, 72, 155)
HSLhsl(286, 37%, 45%)
HSVhsv(286, 54%, 61%)
CMYKcmyk(12.9%, 53.5%, 0%, 39.2%)
CIE-LABlab(41.46, 40.66, -34.44)
CIE-LCHlch(41.46, 53.29, 319.73°)
OKLaboklab(51.23% 0.1045 -0.0958)
OKLCHoklch(51.23% 0.142 317.5)
XYZxyz(18.2246, 12.1528, 32.3897)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87489B #5C9B48
analogous
#5E489B #87489B #9B4886
triadic
#87489B #9B8748 #489B87
tetradic
#87489B #9B5E48 #5C9B48 #48869B
square
#87489B #9B5E48 #5C9B48 #48869B
split-complementary
#87489B #869B48 #489B5E
monochromatic
#3E2147 #633571 #87489B #A568B9 #BE91CC

Accessibility & contrast

On white

6.12
#87489B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#87489B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87489B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87489B#FFFFFF#000000##FFFFFF
##87489B1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#4B6499
Tritanopia (blue-blind)
#87546A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #87489b;
/* rgb */ color: rgb(135, 72, 155);
/* oklch */ color: oklch(51.2% 0.142 317.5);
Tailwind
colors: {
  custom: {
    50: '#ac7eb9',
    500: '#87489b',
    950: '#000000',
  },
}
SCSS
$custom: #87489b;
$custom-light: #ac7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#87489b",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 285.542,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.14176,
    "h": 317.5
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87489B

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

Preview Lab → · Contrast checker → · Palette generator →

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