#87309D#87309D

#87309D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.180 H 318.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#87309D
RGBrgb(135, 48, 157)
HSLhsl(288, 53%, 40%)
HSVhsv(288, 69%, 62%)
CMYKcmyk(14%, 69.4%, 0%, 38.4%)
CIE-LABlab(37.30, 52.71, -42.26)
CIE-LCHlch(37.30, 67.56, 321.28°)
OKLaboklab(48.25% 0.1353 -0.1184)
OKLCHoklch(48.25% 0.18 318.8)
XYZxyz(17.1336, 9.6999, 32.8615)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87309D #469D30
analogous
#50309D #87309D #9D307C
triadic
#87309D #9D8730 #309D87
tetradic
#87309D #9D5030 #469D30 #307C9D
square
#87309D #9D5030 #469D30 #307C9D
split-complementary
#87309D #7C9D30 #309D50
monochromatic
#36133F #5F226E #87309D #AC44C6 #C173D4

Accessibility & contrast

On white

7.14
#87309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#87309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87309D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87309D#FFFFFF#000000##FFFFFF
##87309D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87309d;
/* rgb */ color: rgb(135, 48, 157);
/* oklch */ color: oklch(48.2% 0.180 318.8);
Tailwind
colors: {
  custom: {
    50: '#ad70ba',
    500: '#87309d',
    950: '#000000',
  },
}
SCSS
$custom: #87309d;
$custom-light: #ad70ba;
$custom-dark: #000000;
JSON
{
  "hex": "#87309d",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 287.89,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48246,
    "c": 0.17981,
    "h": 318.8
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87309D

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

Preview Lab → · Contrast checker → · Palette generator →

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