#87339A#87339A

#87339A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.4% C 0.173 H 319.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#87339A
RGBrgb(135, 51, 154)
HSLhsl(289, 50%, 40%)
HSVhsv(289, 67%, 60%)
CMYKcmyk(12.3%, 66.9%, 0%, 39.6%)
CIE-LABlab(37.58, 50.82, -40.00)
CIE-LCHlch(37.58, 64.68, 321.79°)
OKLaboklab(48.39% 0.132 -0.1118)
OKLCHoklch(48.39% 0.173 319.7)
XYZxyz(17.0075, 9.8524, 31.5714)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87339A #469A33
analogous
#53339A #87339A #9A3379
triadic
#87339A #9A8733 #339A87
tetradic
#87339A #9A5333 #469A33 #33799A
square
#87339A #9A5333 #469A33 #33799A
split-complementary
#87339A #799A33 #339A53
monochromatic
#36153E #5F246C #87339A #AC48C2 #C176D2

Accessibility & contrast

On white

7.07
#87339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#87339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87339A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87339A#FFFFFF#000000##FFFFFF
##87339A1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539D
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#874562
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #87339a;
/* rgb */ color: rgb(135, 51, 154);
/* oklch */ color: oklch(48.4% 0.173 319.7);
Tailwind
colors: {
  custom: {
    50: '#ad71b8',
    500: '#87339a',
    950: '#000000',
  },
}
SCSS
$custom: #87339a;
$custom-light: #ad71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#87339a",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 288.932,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48386,
    "c": 0.173,
    "h": 319.7
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#87339A
secondary
#7DBA6F
accent
#DA4E68
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #87339A

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

Preview Lab → · Contrast checker → · Palette generator →

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