#87339C#87339C

#87339C is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.175 H 319.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#87339C
RGBrgb(135, 51, 156)
HSLhsl(288, 51%, 41%)
HSVhsv(288, 67%, 61%)
CMYKcmyk(13.5%, 67.3%, 0%, 38.8%)
CIE-LABlab(37.70, 51.22, -41.02)
CIE-LCHlch(37.70, 65.62, 321.31°)
OKLaboklab(48.51% 0.132 -0.1148)
OKLCHoklch(48.51% 0.175 319)
XYZxyz(17.1755, 9.9196, 32.4560)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87339C #489C33
analogous
#52339C #87339C #9C337C
triadic
#87339C #9C8733 #339C87
tetradic
#87339C #9C5233 #489C33 #337C9C
square
#87339C #9C5233 #489C33 #337C9C
split-complementary
#87339C #7C9C33 #339C52
monochromatic
#371540 #5F246E #87339C #AB49C3 #C077D3

Accessibility & contrast

On white

7.04
#87339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87339C
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87339C#FFFFFF#000000##FFFFFF
##87339C1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#3A5C99
Tritanopia (blue-blind)
#874663
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #87339c;
/* rgb */ color: rgb(135, 51, 156);
/* oklch */ color: oklch(48.5% 0.175 319.0);
Tailwind
colors: {
  custom: {
    50: '#ad71ba',
    500: '#87339c',
    950: '#000000',
  },
}
SCSS
$custom: #87339c;
$custom-light: #ad71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#87339c",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 288,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48513,
    "c": 0.1749,
    "h": 319
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

primary
#87339C
secondary
#7FBB70
accent
#DA4E6A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #87339C

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

Preview Lab → · Contrast checker → · Palette generator →

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