#87307E#87307E

#87307E is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.152 H 332.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#87307E
RGBrgb(135, 48, 126)
HSLhsl(306, 48%, 36%)
HSVhsv(306, 64%, 53%)
CMYKcmyk(0%, 64.4%, 6.7%, 47.1%)
CIE-LABlab(35.54, 46.92, -26.04)
CIE-LCHlch(35.54, 53.66, 330.97°)
OKLaboklab(46.41% 0.1343 -0.0713)
OKLCHoklch(46.41% 0.152 332)
XYZxyz(14.8145, 8.7723, 20.6476)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87307E #308739
analogous
#643087 #87307E #873052
triadic
#87307E #7E8730 #307E87
tetradic
#87307E #876430 #308739 #305287
square
#87307E #876430 #308739 #305287
split-complementary
#87307E #528730 #308764
monochromatic
#2D102A #5A2054 #87307E #B440A8 #C968BF

Accessibility & contrast

On white

7.62
#87307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87307E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87307E#FFFFFF#000000##FFFFFF
##87307E1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#49587C
Tritanopia (blue-blind)
#8D3852
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87307e;
/* rgb */ color: rgb(135, 48, 126);
/* oklch */ color: oklch(46.4% 0.152 332.0);
Tailwind
colors: {
  custom: {
    50: '#ad6fa3',
    500: '#87307e',
    950: '#000000',
  },
}
SCSS
$custom: #87307e;
$custom-light: #ad6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#87307e",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 306.207,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.15208,
    "h": 332
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#87307E
secondary
#62B16A
accent
#D75F51
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #87307E

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

Preview Lab → · Contrast checker → · Palette generator →

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