#87339D#87339D

#87339D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.6% C 0.176 H 318.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#87339D
RGBrgb(135, 51, 157)
HSLhsl(288, 51%, 41%)
HSVhsv(288, 68%, 62%)
CMYKcmyk(14%, 67.5%, 0%, 38.4%)
CIE-LABlab(37.76, 51.42, -41.52)
CIE-LCHlch(37.76, 66.10, 321.08°)
OKLaboklab(48.58% 0.1319 -0.1163)
OKLCHoklch(48.58% 0.176 318.6)
XYZxyz(17.2605, 9.9536, 32.9038)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87339D #499D33
analogous
#52339D #87339D #9D337E
triadic
#87339D #9D8733 #339D87
tetradic
#87339D #9D5233 #499D33 #337E9D
square
#87339D #9D5233 #499D33 #337E9D
split-complementary
#87339D #7E9D33 #339D52
monochromatic
#381541 #5F246F #87339D #AA49C4 #C077D3

Accessibility & contrast

On white

7.02
#87339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#87339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87339D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87339D#FFFFFF#000000##FFFFFF
##87339D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0953A0
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#874664
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #87339d;
/* rgb */ color: rgb(135, 51, 157);
/* oklch */ color: oklch(48.6% 0.176 318.6);
Tailwind
colors: {
  custom: {
    50: '#ad71ba',
    500: '#87339d',
    950: '#000000',
  },
}
SCSS
$custom: #87339d;
$custom-light: #ad71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#87339d",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 287.547,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.17586,
    "h": 318.6
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#87339D
secondary
#80BB70
accent
#DA4D6B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #87339D

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

Preview Lab → · Contrast checker → · Palette generator →

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