#87549D#87549D

#87549D is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.2% C 0.123 H 315.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#87549D
RGBrgb(135, 84, 157)
HSLhsl(282, 30%, 47%)
HSVhsv(282, 46%, 62%)
CMYKcmyk(14%, 46.5%, 0%, 38.4%)
CIE-LABlab(44.13, 34.45, -31.44)
CIE-LCHlch(44.13, 46.64, 317.61°)
OKLaboklab(53.25% 0.0872 -0.0872)
OKLCHoklch(53.25% 0.123 315)
XYZxyz(19.2468, 13.9264, 33.5659)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87549D #6A9D54
analogous
#63549D #87549D #9D548E
triadic
#87549D #9D8754 #549D87
tetradic
#87549D #9D6354 #6A9D54 #548E9D
square
#87549D #9D6354 #6A9D54 #548E9D
split-complementary
#87549D #8E9D54 #549D63
monochromatic
#42294D #653F75 #87549D #A478B7 #BF9FCC

Accessibility & contrast

On white

5.55
#87549D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#87549D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87549D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87549D#FFFFFF#000000##FFFFFF
##87549D1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4665A0
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#865F71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #87549d;
/* rgb */ color: rgb(135, 84, 157);
/* oklch */ color: oklch(53.2% 0.123 315.0);
Tailwind
colors: {
  custom: {
    50: '#ab85ba',
    500: '#87549d',
    950: '#000000',
  },
}
SCSS
$custom: #87549d;
$custom-light: #ab85ba;
$custom-dark: #000000;
JSON
{
  "hex": "#87549d",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 281.918,
    "s": 30.29,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.1233,
    "h": 315
  },
  "luminance": 0.13926
}

Semantic roles & 50–950 ramp

primary
#87549D
secondary
#9FB994
accent
#C76180
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #87549D

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

Preview Lab → · Contrast checker → · Palette generator →

#87549D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva