#87319D#87319D

#87319D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.179 H 318.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#87319D
RGBrgb(135, 49, 157)
HSLhsl(288, 52%, 40%)
HSVhsv(288, 69%, 62%)
CMYKcmyk(14%, 68.8%, 0%, 38.4%)
CIE-LABlab(37.45, 52.29, -42.02)
CIE-LCHlch(37.45, 67.08, 321.22°)
OKLaboklab(48.35% 0.1342 -0.1177)
OKLCHoklch(48.35% 0.179 318.7)
XYZxyz(17.1750, 9.7826, 32.8753)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87319D #479D31
analogous
#51319D #87319D #9D317D
triadic
#87319D #9D8731 #319D87
tetradic
#87319D #9D5131 #479D31 #317D9D
square
#87319D #9D5131 #479D31 #317D9D
split-complementary
#87319D #7D9D31 #319D51
monochromatic
#371440 #5F226E #87319D #AB46C5 #C075D4

Accessibility & contrast

On white

7.10
#87319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#87319D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87319D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87319D#FFFFFF#000000##FFFFFF
##87319D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#375B9A
Tritanopia (blue-blind)
#874563
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #87319d;
/* rgb */ color: rgb(135, 49, 157);
/* oklch */ color: oklch(48.4% 0.179 318.7);
Tailwind
colors: {
  custom: {
    50: '#ad70ba',
    500: '#87319d',
    950: '#000000',
  },
}
SCSS
$custom: #87319d;
$custom-light: #ad70ba;
$custom-dark: #000000;
JSON
{
  "hex": "#87319d",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 287.778,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.17852,
    "h": 318.7
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#87319D
secondary
#7EBC6E
accent
#DC4C69
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #87319D

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

Preview Lab → · Contrast checker → · Palette generator →

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