#87337C#87337C

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

Color values

HEX#87337C
RGBrgb(135, 51, 124)
HSLhsl(308, 45%, 36%)
HSVhsv(308, 62%, 53%)
CMYKcmyk(0%, 62.2%, 8.1%, 47.1%)
CIE-LABlab(35.94, 45.22, -24.18)
CIE-LCHlch(35.94, 51.27, 331.87°)
OKLaboklab(46.66% 0.1301 -0.066)
OKLCHoklch(46.66% 0.146 333.1)
XYZxyz(14.8136, 8.9749, 20.0170)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87337C #33873E
analogous
#683387 #87337C #873352
triadic
#87337C #7C8733 #337C87
tetradic
#87337C #876833 #33873E #335287
square
#87337C #876833 #33873E #335287
split-complementary
#87337C #528733 #338768
monochromatic
#2E112A #5B2253 #87337C #B344A5 #C86DBC

Accessibility & contrast

On white

7.51
#87337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87337C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87337C#FFFFFF#000000##FFFFFF
##87337C1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87337c;
/* rgb */ color: rgb(135, 51, 124);
/* oklch */ color: oklch(46.7% 0.146 333.1);
Tailwind
colors: {
  custom: {
    50: '#ac70a2',
    500: '#87337c',
    950: '#000000',
  },
}
SCSS
$custom: #87337c;
$custom-light: #ac70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#87337c",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 307.857,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46664,
    "c": 0.14591,
    "h": 333.1
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#87337C
secondary
#66B070
accent
#D56453
background
#FAF7FA
surface
#F5EDF3
border
#CFC8CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #87337C

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

Preview Lab → · Contrast checker → · Palette generator →

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