#87399D#87399D

#87399D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.3% C 0.167 H 318.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#87399D
RGBrgb(135, 57, 157)
HSLhsl(287, 47%, 42%)
HSVhsv(287, 64%, 62%)
CMYKcmyk(14%, 63.7%, 0%, 38.4%)
CIE-LABlab(38.75, 48.69, -39.95)
CIE-LCHlch(38.75, 62.98, 320.63°)
OKLaboklab(49.29% 0.1247 -0.1117)
OKLCHoklch(49.29% 0.167 318.1)
XYZxyz(17.5398, 10.5122, 32.9969)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87399D #4F9D39
analogous
#55399D #87399D #9D3981
triadic
#87399D #9D8739 #399D87
tetradic
#87399D #9D5539 #4F9D39 #39819D
square
#87399D #9D5539 #4F9D39 #39819D
split-complementary
#87399D #819D39 #399D55
monochromatic
#3A1843 #602970 #87399D #A853C0 #BF80D1

Accessibility & contrast

On white

6.77
#87399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#87399D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87399D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87399D#FFFFFF#000000##FFFFFF
##87399D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#874A66
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #87399d;
/* rgb */ color: rgb(135, 57, 157);
/* oklch */ color: oklch(49.3% 0.167 318.1);
Tailwind
colors: {
  custom: {
    50: '#ad75ba',
    500: '#87399d',
    950: '#000000',
  },
}
SCSS
$custom: #87399d;
$custom-light: #ad75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#87399d",
  "rgb": {
    "r": 135,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 286.8,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.16744,
    "h": 318.1
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#87399D
secondary
#86BA78
accent
#D6516F
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #87399D

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

Preview Lab → · Contrast checker → · Palette generator →

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