#8D36AF#8D36AF

#8D36AF is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.192 H 314.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8D36AF
RGBrgb(141, 54, 175)
HSLhsl(283, 53%, 45%)
HSVhsv(283, 69%, 69%)
CMYKcmyk(19.4%, 69.1%, 0%, 31.4%)
CIE-LABlab(40.24, 55.18, -48.27)
CIE-LCHlch(40.24, 73.31, 318.82°)
OKLaboklab(50.9% 0.1351 -0.1358)
OKLCHoklch(50.9% 0.192 314.8)
XYZxyz(20.0403, 11.3969, 41.6933)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36AF #58AF36
analogous
#5036AF #8D36AF #AF3695
triadic
#8D36AF #AF8D36 #36AF8D
tetradic
#8D36AF #AF5036 #58AF36 #3695AF
square
#8D36AF #AF5036 #58AF36 #3695AF
split-complementary
#8D36AF #95AF36 #36AF50
monochromatic
#421951 #672880 #8D36AF #AB57CB #C286DA

Accessibility & contrast

On white

6.40
#8D36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8D36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36AF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36AF#FFFFFF#000000##FFFFFF
##8D36AF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#3261AC
Tritanopia (blue-blind)
#8A4E6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d36af;
/* rgb */ color: rgb(141, 54, 175);
/* oklch */ color: oklch(50.9% 0.192 314.8);
Tailwind
colors: {
  custom: {
    50: '#b274c7',
    500: '#8d36af',
    950: '#000000',
  },
}
SCSS
$custom: #8d36af;
$custom-light: #b274c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36af",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 283.14,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.1916,
    "h": 314.8
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#8D36AF
secondary
#91C37D
accent
#DC4C74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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