#87368D#87368D

#87368D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.0% C 0.156 H 324.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#87368D
RGBrgb(135, 54, 141)
HSLhsl(296, 45%, 38%)
HSVhsv(296, 62%, 55%)
CMYKcmyk(4.3%, 61.7%, 0%, 44.7%)
CIE-LABlab(37.32, 46.92, -32.49)
CIE-LCHlch(37.32, 57.07, 325.29°)
OKLaboklab(47.96% 0.128 -0.09)
OKLCHoklch(47.96% 0.156 324.9)
XYZxyz(16.1182, 9.7132, 26.2200)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87368D #3C8D36
analogous
#5B368D #87368D #8D3667
triadic
#87368D #8D8736 #368D87
tetradic
#87368D #8D5B36 #3C8D36 #36678D
square
#87368D #8D5B36 #3C8D36 #36678D
split-complementary
#87368D #678D36 #368D5B
monochromatic
#321434 #5D2561 #87368D #B147B9 #C474CA

Accessibility & contrast

On white

7.14
#87368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#87368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87368D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87368D#FFFFFF#000000##FFFFFF
##87368D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#8A425C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #87368d;
/* rgb */ color: rgb(135, 54, 141);
/* oklch */ color: oklch(48.0% 0.156 324.9);
Tailwind
colors: {
  custom: {
    50: '#ac72af',
    500: '#87368d',
    950: '#000000',
  },
}
SCSS
$custom: #87368d;
$custom-light: #ac72af;
$custom-dark: #000000;
JSON
{
  "hex": "#87368d",
  "rgb": {
    "r": 135,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 295.862,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47962,
    "c": 0.15644,
    "h": 324.9
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#87368D
secondary
#71B26D
accent
#D4535C
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87368D

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

Preview Lab → · Contrast checker → · Palette generator →

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