#87368A#87368A

#87368A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.154 H 326.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#87368A
RGBrgb(135, 54, 138)
HSLhsl(298, 44%, 38%)
HSVhsv(298, 61%, 54%)
CMYKcmyk(2.2%, 60.9%, 0%, 45.9%)
CIE-LABlab(37.16, 46.35, -30.91)
CIE-LCHlch(37.16, 55.71, 326.30°)
OKLaboklab(47.79% 0.1277 -0.0854)
OKLCHoklch(47.79% 0.154 326.2)
XYZxyz(15.8980, 9.6252, 25.0603)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87368A #398A36
analogous
#5D368A #87368A #8A3663
triadic
#87368A #8A8736 #368A87
tetradic
#87368A #8A5D36 #398A36 #36638A
square
#87368A #8A5D36 #398A36 #36638A
split-complementary
#87368A #638A36 #368A5D
monochromatic
#311432 #5C255E #87368A #B247B6 #C572C8

Accessibility & contrast

On white

7.18
#87368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#87368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87368A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87368A#FFFFFF#000000##FFFFFF
##87368A1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#475B88
Tritanopia (blue-blind)
#8A415B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #87368a;
/* rgb */ color: rgb(135, 54, 138);
/* oklch */ color: oklch(47.8% 0.154 326.2);
Tailwind
colors: {
  custom: {
    50: '#ac72ac',
    500: '#87368a',
    950: '#000000',
  },
}
SCSS
$custom: #87368a;
$custom-light: #ac72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#87368a",
  "rgb": {
    "r": 135,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 297.857,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.15366,
    "h": 326.2
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#87368A
secondary
#6EB16B
accent
#D35459
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #87368A

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

Preview Lab → · Contrast checker → · Palette generator →

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