#87307D#87307D

#87307D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.151 H 332.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#87307D
RGBrgb(135, 48, 125)
HSLhsl(307, 48%, 36%)
HSVhsv(307, 64%, 53%)
CMYKcmyk(0%, 64.4%, 7.4%, 47.1%)
CIE-LABlab(35.49, 46.75, -25.49)
CIE-LCHlch(35.49, 53.25, 331.39°)
OKLaboklab(46.36% 0.1342 -0.0698)
OKLCHoklch(46.36% 0.151 332.5)
XYZxyz(14.7503, 8.7466, 20.3094)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87307D #30873A
analogous
#653087 #87307D #873051
triadic
#87307D #7D8730 #307D87
tetradic
#87307D #876530 #30873A #305187
square
#87307D #876530 #30873A #305187
split-complementary
#87307D #518730 #308765
monochromatic
#2D1029 #5A2053 #87307D #B440A7 #C968BE

Accessibility & contrast

On white

7.64
#87307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#87307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87307D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87307D#FFFFFF#000000##FFFFFF
##87307D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#8D3752
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87307d;
/* rgb */ color: rgb(135, 48, 125);
/* oklch */ color: oklch(46.4% 0.151 332.5);
Tailwind
colors: {
  custom: {
    50: '#ad6fa3',
    500: '#87307d',
    950: '#000000',
  },
}
SCSS
$custom: #87307d;
$custom-light: #ad6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#87307d",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 306.897,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46356,
    "c": 0.15125,
    "h": 332.5
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#87307D
secondary
#62B16B
accent
#D76051
background
#FAF6FA
surface
#F5ECF3
border
#CFC7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #87307D

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

Preview Lab → · Contrast checker → · Palette generator →

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