#87337B#87337B

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

Color values

HEX#87337B
RGBrgb(135, 51, 123)
HSLhsl(309, 45%, 36%)
HSVhsv(309, 62%, 53%)
CMYKcmyk(0%, 62.2%, 8.9%, 47.1%)
CIE-LABlab(35.89, 45.04, -23.63)
CIE-LCHlch(35.89, 50.87, 332.32°)
OKLaboklab(46.61% 0.13 -0.0645)
OKLCHoklch(46.61% 0.145 333.6)
XYZxyz(14.7507, 8.9497, 19.6856)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87337B #33873F
analogous
#693387 #87337B #873351
triadic
#87337B #7B8733 #337B87
tetradic
#87337B #876933 #33873F #335187
square
#87337B #876933 #33873F #335187
split-complementary
#87337B #518733 #338769
monochromatic
#2E112A #5B2253 #87337B #B344A3 #C86DBB

Accessibility & contrast

On white

7.53
#87337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#87337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87337B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87337B#FFFFFF#000000##FFFFFF
##87337B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7D
Deuteranopia (green-blind)
#4C5979
Tritanopia (blue-blind)
#8D3952
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87337b;
/* rgb */ color: rgb(135, 51, 123);
/* oklch */ color: oklch(46.6% 0.145 333.6);
Tailwind
colors: {
  custom: {
    50: '#ac70a1',
    500: '#87337b',
    950: '#000000',
  },
}
SCSS
$custom: #87337b;
$custom-light: #ac70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#87337b",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 308.571,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.14508,
    "h": 333.6
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#87337B
secondary
#66B071
accent
#D56653
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #87337B

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

Preview Lab → · Contrast checker → · Palette generator →

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