#8E36AF#8E36AF

#8E36AF is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.192 H 315.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8E36AF
RGBrgb(142, 54, 175)
HSLhsl(284, 53%, 45%)
HSVhsv(284, 69%, 69%)
CMYKcmyk(18.9%, 69.1%, 0%, 31.4%)
CIE-LABlab(40.39, 55.40, -48.03)
CIE-LCHlch(40.39, 73.32, 319.08°)
OKLaboklab(51.04% 0.1364 -0.1351)
OKLCHoklch(51.04% 0.192 315.3)
XYZxyz(20.2111, 11.4850, 41.7013)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36AF #57AF36
analogous
#5136AF #8E36AF #AF3694
triadic
#8E36AF #AF8E36 #36AF8E
tetradic
#8E36AF #AF5136 #57AF36 #3694AF
square
#8E36AF #AF5136 #57AF36 #3694AF
split-complementary
#8E36AF #94AF36 #36AF51
monochromatic
#421951 #682880 #8E36AF #AB57CB #C386DA

Accessibility & contrast

On white

6.37
#8E36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8E36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36AF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36AF#FFFFFF#000000##FFFFFF
##8E36AF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e36af;
/* rgb */ color: rgb(142, 54, 175);
/* oklch */ color: oklch(51.0% 0.192 315.3);
Tailwind
colors: {
  custom: {
    50: '#b374c7',
    500: '#8e36af',
    950: '#000000',
  },
}
SCSS
$custom: #8e36af;
$custom-light: #b374c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36af",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 283.636,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.19197,
    "h": 315.3
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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