#8D36A4#8D36A4

#8D36A4 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.181 H 318.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8D36A4
RGBrgb(141, 54, 164)
HSLhsl(287, 50%, 43%)
HSVhsv(287, 67%, 64%)
CMYKcmyk(14%, 67.1%, 0%, 35.7%)
CIE-LABlab(39.55, 52.93, -42.82)
CIE-LCHlch(39.55, 68.08, 321.03°)
OKLaboklab(50.19% 0.1357 -0.1199)
OKLCHoklch(50.19% 0.181 318.5)
XYZxyz(19.0036, 10.9822, 36.2335)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36A4 #4DA436
analogous
#5636A4 #8D36A4 #A43684
triadic
#8D36A4 #A48D36 #36A48D
tetradic
#8D36A4 #A45636 #4DA436 #3684A4
square
#8D36A4 #A45636 #4DA436 #3684A4
split-complementary
#8D36A4 #84A436 #36A456
monochromatic
#3E1848 #652776 #8D36A4 #AD51C6 #C37FD5

Accessibility & contrast

On white

6.57
#8D36A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8D36A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36A4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36A4#FFFFFF#000000##FFFFFF
##8D36A41.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A7
Deuteranopia (green-blind)
#3C60A1
Tritanopia (blue-blind)
#8D4A68
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d36a4;
/* rgb */ color: rgb(141, 54, 164);
/* oklch */ color: oklch(50.2% 0.181 318.5);
Tailwind
colors: {
  custom: {
    50: '#b274bf',
    500: '#8d36a4',
    950: '#000000',
  },
}
SCSS
$custom: #8d36a4;
$custom-light: #b274bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36a4",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 287.455,
    "s": 50.459,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.18109,
    "h": 318.5
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#8D36A4
secondary
#86BE78
accent
#DA4E6B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D36A4

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

Preview Lab → · Contrast checker → · Palette generator →

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