#87309E#87309E

#87309E is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.181 H 318.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#87309E
RGBrgb(135, 48, 158)
HSLhsl(287, 53%, 40%)
HSVhsv(287, 70%, 62%)
CMYKcmyk(14.6%, 69.6%, 0%, 38%)
CIE-LABlab(37.36, 52.91, -42.76)
CIE-LCHlch(37.36, 68.03, 321.06°)
OKLaboklab(48.31% 0.1353 -0.1199)
OKLCHoklch(48.31% 0.181 318.5)
XYZxyz(17.2193, 9.7342, 33.3130)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87309E #479E30
analogous
#50309E #87309E #9E307E
triadic
#87309E #9E8730 #309E87
tetradic
#87309E #9E5030 #479E30 #307E9E
square
#87309E #9E5030 #479E30 #307E9E
split-complementary
#87309E #7E9E30 #309E50
monochromatic
#371340 #5F226F #87309E #AB45C6 #C074D5

Accessibility & contrast

On white

7.13
#87309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#87309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87309E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87309E#FFFFFF#000000##FFFFFF
##87309E1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#874563
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #87309e;
/* rgb */ color: rgb(135, 48, 158);
/* oklch */ color: oklch(48.3% 0.181 318.5);
Tailwind
colors: {
  custom: {
    50: '#ad70bb',
    500: '#87309e',
    950: '#000000',
  },
}
SCSS
$custom: #87309e;
$custom-light: #ad70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#87309e",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 287.455,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48311,
    "c": 0.18075,
    "h": 318.5
  },
  "luminance": 0.09733
}

Semantic roles & 50–950 ramp

primary
#87309E
secondary
#7EBD6D
accent
#DD4B69
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #87309E

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

Preview Lab → · Contrast checker → · Palette generator →

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