#87377B#87377B

#87377B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.1% C 0.139 H 333.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#87377B
RGBrgb(135, 55, 123)
HSLhsl(309, 42%, 37%)
HSVhsv(309, 59%, 53%)
CMYKcmyk(0%, 59.3%, 8.9%, 47.1%)
CIE-LABlab(36.58, 43.15, -22.55)
CIE-LCHlch(36.58, 48.69, 332.41°)
OKLaboklab(47.12% 0.1245 -0.0614)
OKLCHoklch(47.12% 0.139 333.7)
XYZxyz(14.9331, 9.3144, 19.7464)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87377B #378743
analogous
#6B3787 #87377B #873753
triadic
#87377B #7B8737 #377B87
tetradic
#87377B #876B37 #378743 #375387
square
#87377B #876B37 #378743 #375387
split-complementary
#87377B #538737 #37876B
monochromatic
#30142C #5C2553 #87377B #B249A3 #C673B9

Accessibility & contrast

On white

7.34
#87377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#87377B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87377B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87377B#FFFFFF#000000##FFFFFF
##87377B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#8D3C54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #87377b;
/* rgb */ color: rgb(135, 55, 123);
/* oklch */ color: oklch(47.1% 0.139 333.7);
Tailwind
colors: {
  custom: {
    50: '#ac72a1',
    500: '#87377b',
    950: '#000000',
  },
}
SCSS
$custom: #87377b;
$custom-light: #ac72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#87377b",
  "rgb": {
    "r": 135,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 309,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47123,
    "c": 0.13878,
    "h": 333.7
  },
  "luminance": 0.09313
}

Semantic roles & 50–950 ramp

primary
#87377B
secondary
#6BAF75
accent
#D26856
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #87377B

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

Preview Lab → · Contrast checker → · Palette generator →

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