#87409E#87409E

#87409E is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.3% C 0.158 H 317.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#87409E
RGBrgb(135, 64, 158)
HSLhsl(285, 42%, 44%)
HSVhsv(285, 59%, 62%)
CMYKcmyk(14.6%, 59.5%, 0%, 38%)
CIE-LABlab(40.06, 45.47, -38.46)
CIE-LCHlch(40.06, 59.56, 319.78°)
OKLaboklab(50.26% 0.1157 -0.1074)
OKLCHoklch(50.26% 0.158 317.1)
XYZxyz(17.9957, 11.2870, 33.5718)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87409E #579E40
analogous
#58409E #87409E #9E4086
triadic
#87409E #9E8740 #409E87
tetradic
#87409E #9E5840 #579E40 #40869E
square
#87409E #9E5840 #579E40 #40869E
split-complementary
#87409E #869E40 #409E58
monochromatic
#3D1D47 #622E72 #87409E #A65EBE #BE89CF

Accessibility & contrast

On white

6.45
#87409E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#87409E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87409E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87409E#FFFFFF#000000##FFFFFF
##87409E1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#42619C
Tritanopia (blue-blind)
#864F69
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #87409e;
/* rgb */ color: rgb(135, 64, 158);
/* oklch */ color: oklch(50.3% 0.158 317.1);
Tailwind
colors: {
  custom: {
    50: '#ac79bb',
    500: '#87409e',
    950: '#000000',
  },
}
SCSS
$custom: #87409e;
$custom-light: #ac79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#87409e",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 285.319,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50262,
    "c": 0.15791,
    "h": 317.1
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#87409E
secondary
#8EBA80
accent
#D25674
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #87409E

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

Preview Lab → · Contrast checker → · Palette generator →

#87409E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva