#87397D#87397D

#87397D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.5% C 0.137 H 332.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#87397D
RGBrgb(135, 57, 125)
HSLhsl(308, 41%, 38%)
HSVhsv(308, 58%, 53%)
CMYKcmyk(0%, 57.8%, 7.4%, 47.1%)
CIE-LABlab(37.04, 42.52, -23.08)
CIE-LCHlch(37.04, 48.38, 331.51°)
OKLaboklab(47.49% 0.122 -0.0629)
OKLCHoklch(47.49% 0.137 332.7)
XYZxyz(15.1565, 9.5589, 20.4448)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87397D #398743
analogous
#6A3987 #87397D #873956
triadic
#87397D #7D8739 #397D87
tetradic
#87397D #876A39 #398743 #395687
square
#87397D #876A39 #398743 #395687
split-complementary
#87397D #568739 #39876A
monochromatic
#31152D #5C2755 #87397D #B24BA5 #C575BB

Accessibility & contrast

On white

7.21
#87397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#87397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87397D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87397D#FFFFFF#000000##FFFFFF
##87397D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#4F5B7B
Tritanopia (blue-blind)
#8D3F55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #87397d;
/* rgb */ color: rgb(135, 57, 125);
/* oklch */ color: oklch(47.5% 0.137 332.7);
Tailwind
colors: {
  custom: {
    50: '#ac74a3',
    500: '#87397d',
    950: '#000000',
  },
}
SCSS
$custom: #87397d;
$custom-light: #ac74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#87397d",
  "rgb": {
    "r": 135,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 307.692,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.13723,
    "h": 332.7
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#87397D
secondary
#6EAE76
accent
#D06757
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #87397D

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

Preview Lab → · Contrast checker → · Palette generator →

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