#8D36A7#8D36A7

#8D36A7 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.184 H 317.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8D36A7
RGBrgb(141, 54, 167)
HSLhsl(286, 51%, 43%)
HSVhsv(286, 68%, 65%)
CMYKcmyk(15.6%, 67.7%, 0%, 34.5%)
CIE-LABlab(39.73, 53.53, -44.32)
CIE-LCHlch(39.73, 69.50, 320.38°)
OKLaboklab(50.38% 0.1356 -0.1243)
OKLCHoklch(50.38% 0.184 317.5)
XYZxyz(19.2777, 11.0919, 37.6772)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36A7 #50A736
analogous
#5536A7 #8D36A7 #A73688
triadic
#8D36A7 #A78D36 #36A78D
tetradic
#8D36A7 #A75536 #50A736 #3688A7
square
#8D36A7 #A75536 #50A736 #3688A7
split-complementary
#8D36A7 #88A736 #36A755
monochromatic
#3F184B #662779 #8D36A7 #AD53C7 #C381D6

Accessibility & contrast

On white

6.53
#8D36A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8D36A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36A7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36A7#FFFFFF#000000##FFFFFF
##8D36A71.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0158AA
Deuteranopia (green-blind)
#3960A4
Tritanopia (blue-blind)
#8C4B6A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d36a7;
/* rgb */ color: rgb(141, 54, 167);
/* oklch */ color: oklch(50.4% 0.184 317.5);
Tailwind
colors: {
  custom: {
    50: '#b274c2',
    500: '#8d36a7',
    950: '#000000',
  },
}
SCSS
$custom: #8d36a7;
$custom-light: #b274c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36a7",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 286.195,
    "s": 51.131,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.18394,
    "h": 317.5
  },
  "luminance": 0.11091
}

Semantic roles & 50–950 ramp

primary
#8D36A7
secondary
#89C079
accent
#DB4D6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8D36A7

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

Preview Lab → · Contrast checker → · Palette generator →

#8D36A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva