#87459D#87459D

#87459D is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.9% C 0.149 H 317.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#87459D
RGBrgb(135, 69, 157)
HSLhsl(285, 39%, 44%)
HSVhsv(285, 56%, 62%)
CMYKcmyk(14%, 56.1%, 0%, 38.4%)
CIE-LABlab(40.96, 42.68, -36.42)
CIE-LCHlch(40.96, 56.11, 319.52°)
OKLaboklab(50.91% 0.1089 -0.1015)
OKLCHoklch(50.91% 0.149 317)
XYZxyz(18.2047, 11.8421, 33.2185)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87459D #5B9D45
analogous
#5B459D #87459D #9D4587
triadic
#87459D #9D8745 #459D87
tetradic
#87459D #9D5B45 #5B9D45 #45879D
square
#87459D #9D5B45 #5B9D45 #45879D
split-complementary
#87459D #879D45 #459D5B
monochromatic
#3E2048 #623272 #87459D #A564BB #BE8FCE

Accessibility & contrast

On white

6.23
#87459D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#87459D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87459D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87459D#FFFFFF#000000##FFFFFF
##87459D1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315CA0
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#86536A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #87459d;
/* rgb */ color: rgb(135, 69, 157);
/* oklch */ color: oklch(50.9% 0.149 317.0);
Tailwind
colors: {
  custom: {
    50: '#ac7cba',
    500: '#87459d',
    950: '#000000',
  },
}
SCSS
$custom: #87459d;
$custom-light: #ac7cba;
$custom-dark: #000000;
JSON
{
  "hex": "#87459d",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 285,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.14888,
    "h": 317
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#87459D
secondary
#92B985
accent
#CF5976
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #87459D

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

Preview Lab → · Contrast checker → · Palette generator →

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