#87339F#87339F

#87339F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.178 H 317.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#87339F
RGBrgb(135, 51, 159)
HSLhsl(287, 51%, 41%)
HSVhsv(287, 68%, 62%)
CMYKcmyk(15.1%, 67.9%, 0%, 37.6%)
CIE-LABlab(37.88, 51.83, -42.53)
CIE-LCHlch(37.88, 67.05, 320.63°)
OKLaboklab(48.71% 0.1319 -0.1192)
OKLCHoklch(48.71% 0.178 317.9)
XYZxyz(17.4326, 10.0225, 33.8104)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87339F #4B9F33
analogous
#51339F #87339F #9F3381
triadic
#87339F #9F8733 #339F87
tetradic
#87339F #9F5133 #4B9F33 #33819F
square
#87339F #9F5133 #4B9F33 #33819F
split-complementary
#87339F #819F33 #339F51
monochromatic
#381542 #602471 #87339F #AA4AC5 #C079D4

Accessibility & contrast

On white

6.99
#87339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#87339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87339F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87339F#FFFFFF#000000##FFFFFF
##87339F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#375C9C
Tritanopia (blue-blind)
#864765
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #87339f;
/* rgb */ color: rgb(135, 51, 159);
/* oklch */ color: oklch(48.7% 0.178 317.9);
Tailwind
colors: {
  custom: {
    50: '#ad71bc',
    500: '#87339f',
    950: '#000000',
  },
}
SCSS
$custom: #87339f;
$custom-light: #ad71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#87339f",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 286.667,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48705,
    "c": 0.17776,
    "h": 317.9
  },
  "luminance": 0.10022
}

Semantic roles & 50–950 ramp

primary
#87339F
secondary
#82BC71
accent
#DB4D6C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #87339F

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

Preview Lab → · Contrast checker → · Palette generator →

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