#87337A#87337A

#87337A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.6% C 0.144 H 334.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#87337A
RGBrgb(135, 51, 122)
HSLhsl(309, 45%, 36%)
HSVhsv(309, 62%, 53%)
CMYKcmyk(0%, 62.2%, 9.6%, 47.1%)
CIE-LABlab(35.84, 44.87, -23.08)
CIE-LCHlch(35.84, 50.46, 332.78°)
OKLaboklab(46.56% 0.1298 -0.0629)
OKLCHoklch(46.56% 0.144 334.2)
XYZxyz(14.6884, 8.9248, 19.3576)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87337A #338740
analogous
#6A3387 #87337A #873350
triadic
#87337A #7A8733 #337A87
tetradic
#87337A #876A33 #338740 #335087
square
#87337A #876A33 #338740 #335087
split-complementary
#87337A #508733 #33876A
monochromatic
#2E112A #5B2252 #87337A #B344A2 #C86DBA

Accessibility & contrast

On white

7.54
#87337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#87337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87337A
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87337A#FFFFFF#000000##FFFFFF
##87337A1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#4C5978
Tritanopia (blue-blind)
#8D3951
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87337a;
/* rgb */ color: rgb(135, 51, 122);
/* oklch */ color: oklch(46.6% 0.144 334.2);
Tailwind
colors: {
  custom: {
    50: '#ac70a0',
    500: '#87337a',
    950: '#000000',
  },
}
SCSS
$custom: #87337a;
$custom-light: #ac70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#87337a",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 309.286,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.14424,
    "h": 334.2
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#87337A
secondary
#66B072
accent
#D56753
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #87337A

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

Preview Lab → · Contrast checker → · Palette generator →

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