#87367B#87367B

#87367B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.0% C 0.140 H 333.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#87367B
RGBrgb(135, 54, 123)
HSLhsl(309, 43%, 37%)
HSVhsv(309, 60%, 53%)
CMYKcmyk(0%, 60%, 8.9%, 47.1%)
CIE-LABlab(36.41, 43.63, -22.82)
CIE-LCHlch(36.41, 49.24, 332.39°)
OKLaboklab(46.99% 0.1259 -0.0622)
OKLCHoklch(46.99% 0.14 333.7)
XYZxyz(14.8860, 9.2204, 19.7307)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87367B #368742
analogous
#6B3687 #87367B #873653
triadic
#87367B #7B8736 #367B87
tetradic
#87367B #876B36 #368742 #365387
square
#87367B #876B36 #368742 #365387
split-complementary
#87367B #538736 #36876B
monochromatic
#30132B #5B2553 #87367B #B347A3 #C671BA

Accessibility & contrast

On white

7.38
#87367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#87367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87367B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87367B#FFFFFF#000000##FFFFFF
##87367B1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#8D3C53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #87367b;
/* rgb */ color: rgb(135, 54, 123);
/* oklch */ color: oklch(47.0% 0.140 333.7);
Tailwind
colors: {
  custom: {
    50: '#ac72a1',
    500: '#87367b',
    950: '#000000',
  },
}
SCSS
$custom: #87367b;
$custom-light: #ac72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#87367b",
  "rgb": {
    "r": 135,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 308.889,
    "s": 42.857,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46992,
    "c": 0.14037,
    "h": 333.7
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#87367B
secondary
#6AAF74
accent
#D36855
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #87367B

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

Preview Lab → · Contrast checker → · Palette generator →

#87367B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva