#87397F#87397F

#87397F is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.6% C 0.139 H 331.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#87397F
RGBrgb(135, 57, 127)
HSLhsl(306, 41%, 38%)
HSVhsv(306, 58%, 53%)
CMYKcmyk(0%, 57.8%, 5.9%, 47.1%)
CIE-LABlab(37.13, 42.88, -24.17)
CIE-LCHlch(37.13, 49.22, 330.59°)
OKLaboklab(47.59% 0.1223 -0.0661)
OKLCHoklch(47.59% 0.139 331.6)
XYZxyz(15.2855, 9.6105, 21.1245)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87397F #398741
analogous
#683987 #87397F #873958
triadic
#87397F #7F8739 #397F87
tetradic
#87397F #876839 #398741 #395887
square
#87397F #876839 #398741 #395887
split-complementary
#87397F #588739 #398768
monochromatic
#31152E #5C2757 #87397F #B24BA7 #C575BD

Accessibility & contrast

On white

7.19
#87397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#87397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87397F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87397F#FFFFFF#000000##FFFFFF
##87397F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365081
Deuteranopia (green-blind)
#4E5B7D
Tritanopia (blue-blind)
#8C3F56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #87397f;
/* rgb */ color: rgb(135, 57, 127);
/* oklch */ color: oklch(47.6% 0.139 331.6);
Tailwind
colors: {
  custom: {
    50: '#ac74a4',
    500: '#87397f',
    950: '#000000',
  },
}
SCSS
$custom: #87397f;
$custom-light: #ac74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#87397f",
  "rgb": {
    "r": 135,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 306.154,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.13898,
    "h": 331.6
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#87397F
secondary
#6EAE74
accent
#D06457
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #87397F

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

Preview Lab → · Contrast checker → · Palette generator →

#87397F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva