#87308C#87308C

#87308C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.2% C 0.164 H 325.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#87308C
RGBrgb(135, 48, 140)
HSLhsl(297, 49%, 37%)
HSVhsv(297, 66%, 55%)
CMYKcmyk(3.6%, 65.7%, 0%, 45.1%)
CIE-LABlab(36.29, 49.43, -33.52)
CIE-LCHlch(36.29, 59.72, 325.86°)
OKLaboklab(47.19% 0.1354 -0.0929)
OKLCHoklch(47.19% 0.164 325.5)
XYZxyz(15.7819, 9.1592, 25.7425)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87308C #358C30
analogous
#59308C #87308C #8C3063
triadic
#87308C #8C8730 #308C87
tetradic
#87308C #8C5930 #358C30 #30638C
square
#87308C #8C5930 #358C30 #30638C
split-complementary
#87308C #638C30 #308C59
monochromatic
#2F1131 #5B205E #87308C #B340BA #C76ACC

Accessibility & contrast

On white

7.42
#87308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#87308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87308C
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87308C#FFFFFF#000000##FFFFFF
##87308C1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#42598A
Tritanopia (blue-blind)
#8A3D5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87308c;
/* rgb */ color: rgb(135, 48, 140);
/* oklch */ color: oklch(47.2% 0.164 325.5);
Tailwind
colors: {
  custom: {
    50: '#ad6fae',
    500: '#87308c',
    950: '#000000',
  },
}
SCSS
$custom: #87308c;
$custom-light: #ad6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#87308c",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 296.739,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47194,
    "c": 0.16423,
    "h": 325.5
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#87308C
secondary
#69B364
accent
#D84F57
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #87308C

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

Preview Lab → · Contrast checker → · Palette generator →

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