#87308D#87308D

#87308D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 325.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#87308D
RGBrgb(135, 48, 141)
HSLhsl(296, 49%, 37%)
HSVhsv(296, 66%, 55%)
CMYKcmyk(4.3%, 66%, 0%, 44.7%)
CIE-LABlab(36.35, 49.62, -34.04)
CIE-LCHlch(36.35, 60.17, 325.55°)
OKLaboklab(47.25% 0.1355 -0.0944)
OKLCHoklch(47.25% 0.165 325.1)
XYZxyz(15.8560, 9.1888, 26.1326)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87308D #368D30
analogous
#59308D #87308D #8D3065
triadic
#87308D #8D8730 #308D87
tetradic
#87308D #8D5930 #368D30 #30658D
square
#87308D #8D5930 #368D30 #30658D
split-complementary
#87308D #658D30 #308D59
monochromatic
#301132 #5B205F #87308D #B340BB #C66BCD

Accessibility & contrast

On white

7.40
#87308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#87308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87308D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87308D#FFFFFF#000000##FFFFFF
##87308D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#42598B
Tritanopia (blue-blind)
#8A3E5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87308d;
/* rgb */ color: rgb(135, 48, 141);
/* oklch */ color: oklch(47.3% 0.165 325.1);
Tailwind
colors: {
  custom: {
    50: '#ad6faf',
    500: '#87308d',
    950: '#000000',
  },
}
SCSS
$custom: #87308d;
$custom-light: #ad6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#87308d",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 296.129,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47253,
    "c": 0.16513,
    "h": 325.1
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#87308D
secondary
#6AB465
accent
#D94F58
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #87308D

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

Preview Lab → · Contrast checker → · Palette generator →

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