#8E36AE#8E36AE

#8E36AE is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.191 H 315.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8E36AE
RGBrgb(142, 54, 174)
HSLhsl(284, 53%, 45%)
HSVhsv(284, 69%, 68%)
CMYKcmyk(18.4%, 69%, 0%, 31.8%)
CIE-LABlab(40.32, 55.19, -47.54)
CIE-LCHlch(40.32, 72.84, 319.26°)
OKLaboklab(50.97% 0.1365 -0.1337)
OKLCHoklch(50.97% 0.191 315.6)
XYZxyz(20.1133, 11.4458, 41.1860)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36AE #56AE36
analogous
#5236AE #8E36AE #AE3692
triadic
#8E36AE #AE8E36 #36AE8E
tetradic
#8E36AE #AE5236 #56AE36 #3692AE
square
#8E36AE #AE5236 #56AE36 #3692AE
split-complementary
#8E36AE #92AE36 #36AE52
monochromatic
#421951 #68287F #8E36AE #AC56CB #C385D9

Accessibility & contrast

On white

6.38
#8E36AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8E36AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36AE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36AE#FFFFFF#000000##FFFFFF
##8E36AE1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#3461AB
Tritanopia (blue-blind)
#8C4E6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e36ae;
/* rgb */ color: rgb(142, 54, 174);
/* oklch */ color: oklch(51.0% 0.191 315.6);
Tailwind
colors: {
  custom: {
    50: '#b374c7',
    500: '#8e36ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e36ae;
$custom-light: #b374c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36ae",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 284,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.19103,
    "h": 315.6
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#8E36AE
secondary
#90C37D
accent
#DC4C72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8E36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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