#8D36A2#8D36A2

#8D36A2 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.179 H 319.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8D36A2
RGBrgb(141, 54, 162)
HSLhsl(288, 50%, 42%)
HSVhsv(288, 67%, 64%)
CMYKcmyk(13%, 66.7%, 0%, 36.5%)
CIE-LABlab(39.43, 52.53, -41.81)
CIE-LCHlch(39.43, 67.14, 321.48°)
OKLaboklab(50.06% 0.1358 -0.117)
OKLCHoklch(50.06% 0.179 319.3)
XYZxyz(18.8244, 10.9106, 35.2898)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36A2 #4BA236
analogous
#5736A2 #8D36A2 #A23681
triadic
#8D36A2 #A28D36 #36A28D
tetradic
#8D36A2 #A25736 #4BA236 #3681A2
square
#8D36A2 #A25736 #4BA236 #3681A2
split-complementary
#8D36A2 #81A236 #36A257
monochromatic
#3D1746 #652774 #8D36A2 #AE50C5 #C37ED4

Accessibility & contrast

On white

6.60
#8D36A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8D36A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36A2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36A2#FFFFFF#000000##FFFFFF
##8D36A21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1057A5
Deuteranopia (green-blind)
#3D609F
Tritanopia (blue-blind)
#8D4967
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d36a2;
/* rgb */ color: rgb(141, 54, 162);
/* oklch */ color: oklch(50.1% 0.179 319.3);
Tailwind
colors: {
  custom: {
    50: '#b174be',
    500: '#8d36a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d36a2;
$custom-light: #b174be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36a2",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 288.333,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50059,
    "c": 0.1792,
    "h": 319.3
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#8D36A2
secondary
#84BD77
accent
#DA4E69
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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