#8E32AE#8E32AE

#8E32AE is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.196 H 315.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8E32AE
RGBrgb(142, 50, 174)
HSLhsl(285, 55%, 44%)
HSVhsv(285, 71%, 68%)
CMYKcmyk(18.4%, 71.3%, 0%, 31.8%)
CIE-LABlab(39.73, 56.86, -48.49)
CIE-LCHlch(39.73, 74.72, 319.54°)
OKLaboklab(50.55% 0.1407 -0.1364)
OKLCHoklch(50.55% 0.196 315.9)
XYZxyz(19.9347, 11.0887, 41.1265)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32AE #52AE32
analogous
#5032AE #8E32AE #AE3290
triadic
#8E32AE #AE8E32 #32AE8E
tetradic
#8E32AE #AE5032 #52AE32 #3290AE
square
#8E32AE #AE5032 #52AE32 #3290AE
split-complementary
#8E32AE #90AE32 #32AE50
monochromatic
#40174F #67247E #8E32AE #AD50CD #C380DA

Accessibility & contrast

On white

6.53
#8E32AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8E32AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32AE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32AE#FFFFFF#000000##FFFFFF
##8E32AE1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#3160AB
Tritanopia (blue-blind)
#8C4B6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e32ae;
/* rgb */ color: rgb(142, 50, 174);
/* oklch */ color: oklch(50.5% 0.196 315.9);
Tailwind
colors: {
  custom: {
    50: '#b372c7',
    500: '#8e32ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e32ae;
$custom-light: #b372c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32ae",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 284.516,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50546,
    "c": 0.19601,
    "h": 315.9
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#8E32AE
secondary
#8CC478
accent
#DF4970
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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