#87348C#87348C

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

Color values

HEX#87348C
RGBrgb(135, 52, 140)
HSLhsl(297, 46%, 38%)
HSVhsv(297, 63%, 55%)
CMYKcmyk(3.6%, 62.9%, 0%, 45.1%)
CIE-LABlab(36.93, 47.65, -32.50)
CIE-LCHlch(36.93, 57.68, 325.71°)
OKLaboklab(47.66% 0.1305 -0.09)
OKLCHoklch(47.66% 0.159 325.4)
XYZxyz(15.9529, 9.5013, 25.7995)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87348C #398C34
analogous
#5B348C #87348C #8C3465
triadic
#87348C #8C8734 #348C87
tetradic
#87348C #8C5B34 #398C34 #34658C
square
#87348C #8C5B34 #398C34 #34658C
split-complementary
#87348C #658C34 #348C5B
monochromatic
#311333 #5C235F #87348C #B245B9 #C570CA

Accessibility & contrast

On white

7.24
#87348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#87348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87348C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87348C#FFFFFF#000000##FFFFFF
##87348C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#455A8A
Tritanopia (blue-blind)
#8A405B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #87348c;
/* rgb */ color: rgb(135, 52, 140);
/* oklch */ color: oklch(47.7% 0.159 325.4);
Tailwind
colors: {
  custom: {
    50: '#ad71ae',
    500: '#87348c',
    950: '#000000',
  },
}
SCSS
$custom: #87348c;
$custom-light: #ad71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#87348c",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 296.591,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.1585,
    "h": 325.4
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#87348C
secondary
#6EB26A
accent
#D5525A
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87348C

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

Preview Lab → · Contrast checker → · Palette generator →

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