#87337E#87337E

#87337E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.8% C 0.148 H 332.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#87337E
RGBrgb(135, 51, 126)
HSLhsl(306, 45%, 36%)
HSVhsv(306, 62%, 53%)
CMYKcmyk(0%, 62.2%, 6.7%, 47.1%)
CIE-LABlab(36.03, 45.56, -25.27)
CIE-LCHlch(36.03, 52.10, 330.99°)
OKLaboklab(46.77% 0.1304 -0.0691)
OKLCHoklch(46.77% 0.148 332.1)
XYZxyz(14.9414, 9.0260, 20.6899)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87337E #33873C
analogous
#663387 #87337E #873354
triadic
#87337E #7E8733 #337E87
tetradic
#87337E #876633 #33873C #335487
square
#87337E #876633 #33873C #335487
split-complementary
#87337E #548733 #338766
monochromatic
#2E112B #5B2255 #87337E #B344A7 #C86DBE

Accessibility & contrast

On white

7.49
#87337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#87337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87337E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87337E#FFFFFF#000000##FFFFFF
##87337E1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87337e;
/* rgb */ color: rgb(135, 51, 126);
/* oklch */ color: oklch(46.8% 0.148 332.1);
Tailwind
colors: {
  custom: {
    50: '#ac70a3',
    500: '#87337e',
    950: '#000000',
  },
}
SCSS
$custom: #87337e;
$custom-light: #ac70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#87337e",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 306.429,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46768,
    "c": 0.1476,
    "h": 332.1
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#87337E
secondary
#66B06E
accent
#D56153
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #87337E

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

Preview Lab → · Contrast checker → · Palette generator →

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