#87307B#87307B

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

Color values

HEX#87307B
RGBrgb(135, 48, 123)
HSLhsl(308, 48%, 36%)
HSVhsv(308, 64%, 53%)
CMYKcmyk(0%, 64.4%, 8.9%, 47.1%)
CIE-LABlab(35.39, 46.41, -24.40)
CIE-LCHlch(35.39, 52.43, 332.26°)
OKLaboklab(46.25% 0.1339 -0.0666)
OKLCHoklch(46.25% 0.15 333.5)
XYZxyz(14.6238, 8.6960, 19.6433)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87307B #30873C
analogous
#673087 #87307B #87304F
triadic
#87307B #7B8730 #307B87
tetradic
#87307B #876730 #30873C #304F87
square
#87307B #876730 #30873C #304F87
split-complementary
#87307B #4F8730 #308767
monochromatic
#2D1029 #5A2052 #87307B #B440A4 #C968BC

Accessibility & contrast

On white

7.67
#87307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87307B
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87307B#FFFFFF#000000##FFFFFF
##87307B1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87307b;
/* rgb */ color: rgb(135, 48, 123);
/* oklch */ color: oklch(46.3% 0.150 333.5);
Tailwind
colors: {
  custom: {
    50: '#ad6fa1',
    500: '#87307b',
    950: '#000000',
  },
}
SCSS
$custom: #87307b;
$custom-light: #ad6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#87307b",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 308.276,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46251,
    "c": 0.1496,
    "h": 333.5
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#87307B
secondary
#62B16D
accent
#D76351
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #87307B

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

Preview Lab → · Contrast checker → · Palette generator →

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