#87348B#87348B

#87348B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.6% C 0.158 H 325.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#87348B
RGBrgb(135, 52, 139)
HSLhsl(297, 46%, 37%)
HSVhsv(297, 63%, 55%)
CMYKcmyk(2.9%, 62.6%, 0%, 45.5%)
CIE-LABlab(36.88, 47.46, -31.97)
CIE-LCHlch(36.88, 57.23, 326.04°)
OKLaboklab(47.6% 0.1304 -0.0885)
OKLCHoklch(47.6% 0.158 325.8)
XYZxyz(15.8795, 9.4719, 25.4129)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87348B #388B34
analogous
#5B348B #87348B #8B3464
triadic
#87348B #8B8734 #348B87
tetradic
#87348B #8B5B34 #388B34 #34648B
square
#87348B #8B5B34 #388B34 #34648B
split-complementary
#87348B #648B34 #348B5B
monochromatic
#301332 #5C235E #87348B #B245B8 #C570C9

Accessibility & contrast

On white

7.26
#87348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87348B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87348B#FFFFFF#000000##FFFFFF
##87348B1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#455A89
Tritanopia (blue-blind)
#8A405A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #87348b;
/* rgb */ color: rgb(135, 52, 139);
/* oklch */ color: oklch(47.6% 0.158 325.8);
Tailwind
colors: {
  custom: {
    50: '#ad71ad',
    500: '#87348b',
    950: '#000000',
  },
}
SCSS
$custom: #87348b;
$custom-light: #ad71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#87348b",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 297.241,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47602,
    "c": 0.15758,
    "h": 325.8
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#87348B
secondary
#6DB269
accent
#D55359
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87348B

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

Preview Lab → · Contrast checker → · Palette generator →

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