#87337D#87337D

#87337D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.7% C 0.147 H 332.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#87337D
RGBrgb(135, 51, 125)
HSLhsl(307, 45%, 36%)
HSVhsv(307, 62%, 53%)
CMYKcmyk(0%, 62.2%, 7.4%, 47.1%)
CIE-LABlab(35.98, 45.39, -24.72)
CIE-LCHlch(35.98, 51.69, 331.42°)
OKLaboklab(46.72% 0.1303 -0.0676)
OKLCHoklch(46.72% 0.147 332.6)
XYZxyz(14.8772, 9.0003, 20.3517)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87337D #33873D
analogous
#673387 #87337D #873353
triadic
#87337D #7D8733 #337D87
tetradic
#87337D #876733 #33873D #335387
square
#87337D #876733 #33873D #335387
split-complementary
#87337D #538733 #338767
monochromatic
#2E112B #5B2254 #87337D #B344A6 #C86DBD

Accessibility & contrast

On white

7.50
#87337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#87337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87337D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87337D#FFFFFF#000000##FFFFFF
##87337D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#8D3A53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87337d;
/* rgb */ color: rgb(135, 51, 125);
/* oklch */ color: oklch(46.7% 0.147 332.6);
Tailwind
colors: {
  custom: {
    50: '#ac70a3',
    500: '#87337d',
    950: '#000000',
  },
}
SCSS
$custom: #87337d;
$custom-light: #ac70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#87337d",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 307.143,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46716,
    "c": 0.14675,
    "h": 332.6
  },
  "luminance": 0.08999
}

Semantic roles & 50–950 ramp

primary
#87337D
secondary
#66B06F
accent
#D56253
background
#FAF7FA
surface
#F5EDF3
border
#CFC8CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #87337D

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

Preview Lab → · Contrast checker → · Palette generator →

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