#87348D#87348D

#87348D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.159 H 325.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#87348D
RGBrgb(135, 52, 141)
HSLhsl(296, 46%, 38%)
HSVhsv(296, 63%, 55%)
CMYKcmyk(4.3%, 63.1%, 0%, 44.7%)
CIE-LABlab(36.99, 47.84, -33.02)
CIE-LCHlch(36.99, 58.13, 325.38°)
OKLaboklab(47.72% 0.1305 -0.0915)
OKLCHoklch(47.72% 0.159 325)
XYZxyz(16.0270, 9.5309, 26.1896)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87348D #3A8D34
analogous
#5A348D #87348D #8D3466
triadic
#87348D #8D8734 #348D87
tetradic
#87348D #8D5A34 #3A8D34 #34668D
square
#87348D #8D5A34 #3A8D34 #34668D
split-complementary
#87348D #668D34 #348D5A
monochromatic
#311334 #5C2460 #87348D #B244BA #C571CB

Accessibility & contrast

On white

7.23
#87348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#87348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87348D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87348D#FFFFFF#000000##FFFFFF
##87348D1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#445B8B
Tritanopia (blue-blind)
#8A415C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #87348d;
/* rgb */ color: rgb(135, 52, 141);
/* oklch */ color: oklch(47.7% 0.159 325.0);
Tailwind
colors: {
  custom: {
    50: '#ad71af',
    500: '#87348d',
    950: '#000000',
  },
}
SCSS
$custom: #87348d;
$custom-light: #ad71af;
$custom-dark: #000000;
JSON
{
  "hex": "#87348d",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 295.955,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47718,
    "c": 0.15941,
    "h": 325
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#87348D
secondary
#6FB36A
accent
#D6525B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87348D

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

Preview Lab → · Contrast checker → · Palette generator →

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