#87328D#87328D

#87328D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.5% C 0.162 H 325.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#87328D
RGBrgb(135, 50, 141)
HSLhsl(296, 48%, 37%)
HSVhsv(296, 65%, 55%)
CMYKcmyk(4.3%, 64.5%, 0%, 44.7%)
CIE-LABlab(36.66, 48.74, -33.54)
CIE-LCHlch(36.66, 59.17, 325.47°)
OKLaboklab(47.48% 0.133 -0.093)
OKLCHoklch(47.48% 0.162 325)
XYZxyz(15.9396, 9.3561, 26.1605)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87328D #388D32
analogous
#5A328D #87328D #8D3265
triadic
#87328D #8D8732 #328D87
tetradic
#87328D #8D5A32 #388D32 #32658D
square
#87328D #8D5A32 #388D32 #32658D
split-complementary
#87328D #658D32 #328D5A
monochromatic
#301233 #5C2260 #87328D #B242BA #C56ECC

Accessibility & contrast

On white

7.31
#87328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#87328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87328D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87328D#FFFFFF#000000##FFFFFF
##87328D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#8A3F5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #87328d;
/* rgb */ color: rgb(135, 50, 141);
/* oklch */ color: oklch(47.5% 0.162 325.0);
Tailwind
colors: {
  custom: {
    50: '#ad70af',
    500: '#87328d',
    950: '#000000',
  },
}
SCSS
$custom: #87328d;
$custom-light: #ad70af;
$custom-dark: #000000;
JSON
{
  "hex": "#87328d",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 296.044,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47481,
    "c": 0.16231,
    "h": 325
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#87328D
secondary
#6DB368
accent
#D75159
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #87328D

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

Preview Lab → · Contrast checker → · Palette generator →

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