#87309A#87309A

#87309A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.177 H 319.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#87309A
RGBrgb(135, 48, 154)
HSLhsl(289, 52%, 40%)
HSVhsv(289, 69%, 60%)
CMYKcmyk(12.3%, 68.8%, 0%, 39.6%)
CIE-LABlab(37.11, 52.12, -40.74)
CIE-LCHlch(37.11, 66.15, 321.98°)
OKLaboklab(48.05% 0.1354 -0.114)
OKLCHoklch(48.05% 0.177 319.9)
XYZxyz(16.8806, 9.5987, 31.5291)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87309A #439A30
analogous
#52309A #87309A #9A3078
triadic
#87309A #9A8730 #309A87
tetradic
#87309A #9A5230 #439A30 #30789A
square
#87309A #9A5230 #439A30 #30789A
split-complementary
#87309A #789A30 #309A52
monochromatic
#35133D #5E216B #87309A #AD43C4 #C172D3

Accessibility & contrast

On white

7.19
#87309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#87309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87309A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87309A#FFFFFF#000000##FFFFFF
##87309A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06519D
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#874361
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #87309a;
/* rgb */ color: rgb(135, 48, 154);
/* oklch */ color: oklch(48.1% 0.177 319.9);
Tailwind
colors: {
  custom: {
    50: '#ad70b8',
    500: '#87309a',
    950: '#000000',
  },
}
SCSS
$custom: #87309a;
$custom-light: #ad70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#87309a",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 289.245,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48053,
    "c": 0.17703,
    "h": 319.9
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#87309A
secondary
#79BB6B
accent
#DC4C66
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #87309A

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

Preview Lab → · Contrast checker → · Palette generator →

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