#87399A#87399A

#87399A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.164 H 319.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#87399A
RGBrgb(135, 57, 154)
HSLhsl(288, 46%, 41%)
HSVhsv(288, 63%, 60%)
CMYKcmyk(12.3%, 63%, 0%, 39.6%)
CIE-LABlab(38.57, 48.07, -38.42)
CIE-LCHlch(38.57, 61.54, 321.37°)
OKLaboklab(49.11% 0.1247 -0.1072)
OKLCHoklch(49.11% 0.164 319.3)
XYZxyz(17.2868, 10.4110, 31.6645)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87399A #4C9A39
analogous
#57399A #87399A #9A397D
triadic
#87399A #9A8739 #399A87
tetradic
#87399A #9A5739 #4C9A39 #397D9A
square
#87399A #9A5739 #4C9A39 #397D9A
split-complementary
#87399A #7D9A39 #399A57
monochromatic
#391841 #60286D #87399A #A951BF #BF7ECF

Accessibility & contrast

On white

6.81
#87399A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#87399A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87399A
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87399A#FFFFFF#000000##FFFFFF
##87399A1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F569D
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#874964
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #87399a;
/* rgb */ color: rgb(135, 57, 154);
/* oklch */ color: oklch(49.1% 0.164 319.3);
Tailwind
colors: {
  custom: {
    50: '#ad75b8',
    500: '#87399a',
    950: '#000000',
  },
}
SCSS
$custom: #87399a;
$custom-light: #ad75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#87399a",
  "rgb": {
    "r": 135,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 288.247,
    "s": 45.972,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49105,
    "c": 0.16446,
    "h": 319.3
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#87399A
secondary
#83B976
accent
#D6526C
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #87399A

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

Preview Lab → · Contrast checker → · Palette generator →

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