#87339E#87339E

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

Color values

HEX#87339E
RGBrgb(135, 51, 158)
HSLhsl(287, 51%, 41%)
HSVhsv(287, 68%, 62%)
CMYKcmyk(14.6%, 67.7%, 0%, 38%)
CIE-LABlab(37.82, 51.63, -42.03)
CIE-LCHlch(37.82, 66.57, 320.85°)
OKLaboklab(48.64% 0.1319 -0.1177)
OKLCHoklch(48.64% 0.177 318.2)
XYZxyz(17.3462, 9.9879, 33.3553)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87339E #4A9E33
analogous
#51339E #87339E #9E337F
triadic
#87339E #9E8733 #339E87
tetradic
#87339E #9E5133 #4A9E33 #337F9E
square
#87339E #9E5133 #4A9E33 #337F9E
split-complementary
#87339E #7F9E33 #339E51
monochromatic
#381541 #5F2470 #87339E #AA4AC4 #C078D3

Accessibility & contrast

On white

7.01
#87339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87339E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87339E#FFFFFF#000000##FFFFFF
##87339E1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0654A1
Deuteranopia (green-blind)
#385C9B
Tritanopia (blue-blind)
#874764
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #87339e;
/* rgb */ color: rgb(135, 51, 158);
/* oklch */ color: oklch(48.6% 0.177 318.2);
Tailwind
colors: {
  custom: {
    50: '#ad71bb',
    500: '#87339e',
    950: '#000000',
  },
}
SCSS
$custom: #87339e;
$custom-light: #ad71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#87339e",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 287.103,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.17681,
    "h": 318.2
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87339E

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

Preview Lab → · Contrast checker → · Palette generator →

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