#87397E#87397E

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

Color values

HEX#87397E
RGBrgb(135, 57, 126)
HSLhsl(307, 41%, 38%)
HSVhsv(307, 58%, 53%)
CMYKcmyk(0%, 57.8%, 6.7%, 47.1%)
CIE-LABlab(37.09, 42.70, -23.63)
CIE-LCHlch(37.09, 48.80, 331.04°)
OKLaboklab(47.54% 0.1221 -0.0645)
OKLCHoklch(47.54% 0.138 332.2)
XYZxyz(15.2207, 9.5846, 20.7829)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87397E #398742
analogous
#693987 #87397E #873957
triadic
#87397E #7E8739 #397E87
tetradic
#87397E #876939 #398742 #395787
square
#87397E #876939 #398742 #395787
split-complementary
#87397E #578739 #398769
monochromatic
#31152E #5C2756 #87397E #B24BA6 #C575BC

Accessibility & contrast

On white

7.20
#87397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87397E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87397E#FFFFFF#000000##FFFFFF
##87397E1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87397e;
/* rgb */ color: rgb(135, 57, 126);
/* oklch */ color: oklch(47.5% 0.138 332.2);
Tailwind
colors: {
  custom: {
    50: '#ac74a3',
    500: '#87397e',
    950: '#000000',
  },
}
SCSS
$custom: #87397e;
$custom-light: #ac74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#87397e",
  "rgb": {
    "r": 135,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 306.923,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47539,
    "c": 0.13811,
    "h": 332.2
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#87397E
secondary
#6EAE75
accent
#D06557
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #87397E

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

Preview Lab → · Contrast checker → · Palette generator →

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