#87459A#87459A

#87459A is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.7% C 0.146 H 318.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#87459A
RGBrgb(135, 69, 154)
HSLhsl(287, 38%, 44%)
HSVhsv(287, 55%, 60%)
CMYKcmyk(12.3%, 55.2%, 0%, 39.6%)
CIE-LABlab(40.80, 42.04, -34.88)
CIE-LCHlch(40.80, 54.63, 320.32°)
OKLaboklab(50.73% 0.1086 -0.097)
OKLCHoklch(50.73% 0.146 318.2)
XYZxyz(17.9517, 11.7409, 31.8862)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87459A #589A45
analogous
#5C459A #87459A #9A4582
triadic
#87459A #9A8745 #459A87
tetradic
#87459A #9A5C45 #589A45 #45829A
square
#87459A #9A5C45 #589A45 #45829A
split-complementary
#87459A #829A45 #459A5C
monochromatic
#3D1F45 #623270 #87459A #A663B9 #BE8DCC

Accessibility & contrast

On white

6.27
#87459A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#87459A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87459A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87459A#FFFFFF#000000##FFFFFF
##87459A1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#496298
Tritanopia (blue-blind)
#875269
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #87459a;
/* rgb */ color: rgb(135, 69, 154);
/* oklch */ color: oklch(50.7% 0.146 318.2);
Tailwind
colors: {
  custom: {
    50: '#ac7cb8',
    500: '#87459a',
    950: '#000000',
  },
}
SCSS
$custom: #87459a;
$custom-light: #ac7cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#87459a",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 286.588,
    "s": 38.117,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50734,
    "c": 0.14567,
    "h": 318.2
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#87459A
secondary
#8FB783
accent
#CE5A74
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #87459A

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

Preview Lab → · Contrast checker → · Palette generator →

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