#87308E#87308E

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

Color values

HEX#87308E
RGBrgb(135, 48, 142)
HSLhsl(296, 49%, 37%)
HSVhsv(296, 66%, 56%)
CMYKcmyk(4.9%, 66.2%, 0%, 44.3%)
CIE-LABlab(36.40, 49.81, -34.56)
CIE-LCHlch(36.40, 60.62, 325.24°)
OKLaboklab(47.31% 0.1355 -0.096)
OKLCHoklch(47.31% 0.166 324.7)
XYZxyz(15.9307, 9.2187, 26.5262)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87308E #378E30
analogous
#58308E #87308E #8E3066
triadic
#87308E #8E8730 #308E87
tetradic
#87308E #8E5830 #378E30 #30668E
square
#87308E #8E5830 #378E30 #30668E
split-complementary
#87308E #668E30 #308E58
monochromatic
#301133 #5C2160 #87308E #B23FBC #C66BCD

Accessibility & contrast

On white

7.39
#87308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87308E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87308E#FFFFFF#000000##FFFFFF
##87308E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F91
Deuteranopia (green-blind)
#41598C
Tritanopia (blue-blind)
#8A3E5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #87308e;
/* rgb */ color: rgb(135, 48, 142);
/* oklch */ color: oklch(47.3% 0.166 324.7);
Tailwind
colors: {
  custom: {
    50: '#ad6faf',
    500: '#87308e',
    950: '#000000',
  },
}
SCSS
$custom: #87308e;
$custom-light: #ad6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#87308e",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 295.532,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.16603,
    "h": 324.7
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#87308E
secondary
#6BB465
accent
#D94F59
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #87308E

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

Preview Lab → · Contrast checker → · Palette generator →

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