#87348A#87348A

#87348A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.5% C 0.157 H 326.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#87348A
RGBrgb(135, 52, 138)
HSLhsl(298, 45%, 37%)
HSVhsv(298, 62%, 54%)
CMYKcmyk(2.2%, 62.3%, 0%, 45.9%)
CIE-LABlab(36.82, 47.28, -31.44)
CIE-LCHlch(36.82, 56.78, 326.37°)
OKLaboklab(47.55% 0.1303 -0.0869)
OKLCHoklch(47.55% 0.157 326.3)
XYZxyz(15.8068, 9.4428, 25.0299)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87348A #378A34
analogous
#5C348A #87348A #8A3462
triadic
#87348A #8A8734 #348A87
tetradic
#87348A #8A5C34 #378A34 #34628A
square
#87348A #8A5C34 #378A34 #34628A
split-complementary
#87348A #628A34 #348A5C
monochromatic
#301331 #5C235E #87348A #B245B6 #C66FC9

Accessibility & contrast

On white

7.27
#87348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#87348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87348A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87348A#FFFFFF#000000##FFFFFF
##87348A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#465A88
Tritanopia (blue-blind)
#8A3F5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #87348a;
/* rgb */ color: rgb(135, 52, 138);
/* oklch */ color: oklch(47.5% 0.157 326.3);
Tailwind
colors: {
  custom: {
    50: '#ad71ac',
    500: '#87348a',
    950: '#000000',
  },
}
SCSS
$custom: #87348a;
$custom-light: #ad71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#87348a",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 297.907,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.15667,
    "h": 326.3
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#87348A
secondary
#6BB169
accent
#D55357
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87348A

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

Preview Lab → · Contrast checker → · Palette generator →

#87348A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva