#87459C#87459C

#87459C is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.8% C 0.148 H 317.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#87459C
RGBrgb(135, 69, 156)
HSLhsl(286, 39%, 44%)
HSVhsv(286, 56%, 61%)
CMYKcmyk(13.5%, 55.8%, 0%, 38.8%)
CIE-LABlab(40.91, 42.47, -35.91)
CIE-LCHlch(40.91, 55.62, 319.78°)
OKLaboklab(50.85% 0.1088 -0.1)
OKLCHoklch(50.85% 0.148 317.4)
XYZxyz(18.1197, 11.8081, 32.7708)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87459C #5A9C45
analogous
#5C459C #87459C #9C4586
triadic
#87459C #9C8745 #459C87
tetradic
#87459C #9C5C45 #5A9C45 #45869C
square
#87459C #9C5C45 #5A9C45 #45869C
split-complementary
#87459C #869C45 #459C5C
monochromatic
#3E1F47 #623272 #87459C #A564BA #BE8ECD

Accessibility & contrast

On white

6.25
#87459C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#87459C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87459C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87459C#FFFFFF#000000##FFFFFF
##87459C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9F
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#86536A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #87459c;
/* rgb */ color: rgb(135, 69, 156);
/* oklch */ color: oklch(50.8% 0.148 317.4);
Tailwind
colors: {
  custom: {
    50: '#ac7cb9',
    500: '#87459c',
    950: '#000000',
  },
}
SCSS
$custom: #87459c;
$custom-light: #ac7cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#87459c",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 285.517,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50848,
    "c": 0.1478,
    "h": 317.4
  },
  "luminance": 0.11807
}

Semantic roles & 50–950 ramp

primary
#87459C
secondary
#91B984
accent
#CF5976
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #87459C

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

Preview Lab → · Contrast checker → · Palette generator →

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