#87399E#87399E

#87399E is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.168 H 317.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#87399E
RGBrgb(135, 57, 158)
HSLhsl(286, 47%, 42%)
HSVhsv(286, 64%, 62%)
CMYKcmyk(14.6%, 63.9%, 0%, 38%)
CIE-LABlab(38.81, 48.89, -40.46)
CIE-LCHlch(38.81, 63.46, 320.40°)
OKLaboklab(49.35% 0.1247 -0.1132)
OKLCHoklch(49.35% 0.168 317.8)
XYZxyz(17.6255, 10.5465, 33.4484)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87399E #509E39
analogous
#55399E #87399E #9E3982
triadic
#87399E #9E8739 #399E87
tetradic
#87399E #9E5539 #509E39 #39829E
square
#87399E #9E5539 #509E39 #39829E
split-complementary
#87399E #829E39 #399E55
monochromatic
#3A1944 #612971 #87399E #A853C1 #BF80D1

Accessibility & contrast

On white

6.75
#87399E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#87399E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87399E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87399E#FFFFFF#000000##FFFFFF
##87399E1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A1
Deuteranopia (green-blind)
#3D5E9C
Tritanopia (blue-blind)
#864B66
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #87399e;
/* rgb */ color: rgb(135, 57, 158);
/* oklch */ color: oklch(49.4% 0.168 317.8);
Tailwind
colors: {
  custom: {
    50: '#ad75bb',
    500: '#87399e',
    950: '#000000',
  },
}
SCSS
$custom: #87399e;
$custom-light: #ad75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#87399e",
  "rgb": {
    "r": 135,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 286.337,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49351,
    "c": 0.16843,
    "h": 317.8
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#87399E
secondary
#87BB78
accent
#D75170
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #87399E

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

Preview Lab → · Contrast checker → · Palette generator →

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