#87308A#87308A

#87308A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.162 H 326.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#87308A
RGBrgb(135, 48, 138)
HSLhsl(298, 48%, 36%)
HSVhsv(298, 65%, 54%)
CMYKcmyk(2.2%, 65.2%, 0%, 45.9%)
CIE-LABlab(36.18, 49.06, -32.46)
CIE-LCHlch(36.18, 58.83, 326.51°)
OKLaboklab(47.08% 0.1353 -0.0899)
OKLCHoklch(47.08% 0.162 326.4)
XYZxyz(15.6358, 9.1008, 24.9729)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87308A #338A30
analogous
#5A308A #87308A #8A3060
triadic
#87308A #8A8730 #308A87
tetradic
#87308A #8A5A30 #338A30 #30608A
square
#87308A #8A5A30 #338A30 #30608A
split-complementary
#87308A #608A30 #308A5A
monochromatic
#2E102F #5B205D #87308A #B340B7 #C869CB

Accessibility & contrast

On white

7.45
#87308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#87308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87308A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87308A#FFFFFF#000000##FFFFFF
##87308A1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#435988
Tritanopia (blue-blind)
#8B3D59
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87308a;
/* rgb */ color: rgb(135, 48, 138);
/* oklch */ color: oklch(47.1% 0.162 326.4);
Tailwind
colors: {
  custom: {
    50: '#ad6fac',
    500: '#87308a',
    950: '#000000',
  },
}
SCSS
$custom: #87308a;
$custom-light: #ad6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#87308a",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 298,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47077,
    "c": 0.16245,
    "h": 326.4
  },
  "luminance": 0.091
}

Semantic roles & 50–950 ramp

primary
#87308A
secondary
#66B264
accent
#D85054
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #87308A

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

Preview Lab → · Contrast checker → · Palette generator →

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