#87348F#87348F

#87348F is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.161 H 324.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#87348F
RGBrgb(135, 52, 143)
HSLhsl(295, 47%, 38%)
HSVhsv(295, 64%, 56%)
CMYKcmyk(5.6%, 63.6%, 0%, 43.9%)
CIE-LABlab(37.10, 48.22, -34.07)
CIE-LCHlch(37.10, 59.04, 324.76°)
OKLaboklab(47.83% 0.1306 -0.0946)
OKLCHoklch(47.83% 0.161 324.1)
XYZxyz(16.1772, 9.5910, 26.9804)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87348F #3C8F34
analogous
#59348F #87348F #8F3469
triadic
#87348F #8F8734 #348F87
tetradic
#87348F #8F5934 #3C8F34 #34698F
square
#87348F #8F5934 #3C8F34 #34698F
split-complementary
#87348F #698F34 #348F59
monochromatic
#321335 #5D2462 #87348F #B145BB #C472CC

Accessibility & contrast

On white

7.20
#87348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#87348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87348F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87348F#FFFFFF#000000##FFFFFF
##87348F1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#435B8D
Tritanopia (blue-blind)
#8A415D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #87348f;
/* rgb */ color: rgb(135, 52, 143);
/* oklch */ color: oklch(47.8% 0.161 324.1);
Tailwind
colors: {
  custom: {
    50: '#ad71b0',
    500: '#87348f',
    950: '#000000',
  },
}
SCSS
$custom: #87348f;
$custom-light: #ad71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#87348f",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 294.725,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.16126,
    "h": 324.1
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#87348F
secondary
#71B46B
accent
#D6515D
background
#FAF7FA
surface
#F5EDF5
border
#CFC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87348F

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

Preview Lab → · Contrast checker → · Palette generator →

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