#87339B#87339B

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

Color values

HEX#87339B
RGBrgb(135, 51, 155)
HSLhsl(288, 50%, 40%)
HSVhsv(288, 67%, 61%)
CMYKcmyk(12.9%, 67.1%, 0%, 39.2%)
CIE-LABlab(37.64, 51.02, -40.51)
CIE-LCHlch(37.64, 65.15, 321.55°)
OKLaboklab(48.45% 0.132 -0.1133)
OKLCHoklch(48.45% 0.174 319.4)
XYZxyz(17.0911, 9.8859, 32.0119)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87339B #479B33
analogous
#53339B #87339B #9B337B
triadic
#87339B #9B8733 #339B87
tetradic
#87339B #9B5333 #479B33 #337B9B
square
#87339B #9B5333 #479B33 #337B9B
split-complementary
#87339B #7B9B33 #339B53
monochromatic
#37153F #5F246D #87339B #AB48C3 #C076D2

Accessibility & contrast

On white

7.05
#87339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#87339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87339B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87339B#FFFFFF#000000##FFFFFF
##87339B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539E
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#874563
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #87339b;
/* rgb */ color: rgb(135, 51, 155);
/* oklch */ color: oklch(48.4% 0.174 319.4);
Tailwind
colors: {
  custom: {
    50: '#ad71b9',
    500: '#87339b',
    950: '#000000',
  },
}
SCSS
$custom: #87339b;
$custom-light: #ad71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#87339b",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 288.462,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48449,
    "c": 0.17395,
    "h": 319.4
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#87339B
secondary
#7EBA6F
accent
#DA4E69
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #87339B

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

Preview Lab → · Contrast checker → · Palette generator →

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