#87307C#87307C

#87307C is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.3% C 0.150 H 333.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#87307C
RGBrgb(135, 48, 124)
HSLhsl(308, 48%, 36%)
HSVhsv(308, 64%, 53%)
CMYKcmyk(0%, 64.4%, 8.1%, 47.1%)
CIE-LABlab(35.44, 46.58, -24.95)
CIE-LCHlch(35.44, 52.84, 331.82°)
OKLaboklab(46.3% 0.1341 -0.0682)
OKLCHoklch(46.3% 0.15 333)
XYZxyz(14.6868, 8.7212, 19.9747)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87307C #30873B
analogous
#663087 #87307C #873050
triadic
#87307C #7C8730 #307C87
tetradic
#87307C #876630 #30873B #305087
square
#87307C #876630 #30873B #305087
split-complementary
#87307C #508730 #308766
monochromatic
#2D1029 #5A2053 #87307C #B440A5 #C968BD

Accessibility & contrast

On white

7.65
#87307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#87307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87307C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87307C#FFFFFF#000000##FFFFFF
##87307C1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7E
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#8D3751
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87307c;
/* rgb */ color: rgb(135, 48, 124);
/* oklch */ color: oklch(46.3% 0.150 333.0);
Tailwind
colors: {
  custom: {
    50: '#ad6fa2',
    500: '#87307c',
    950: '#000000',
  },
}
SCSS
$custom: #87307c;
$custom-light: #ad6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#87307c",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 307.586,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.15042,
    "h": 333
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#87307C
secondary
#62B16C
accent
#D76251
background
#FAF6FA
surface
#F5ECF3
border
#CFC7CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #87307C

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

Preview Lab → · Contrast checker → · Palette generator →

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