#8E32AA#8E32AA

#8E32AA is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.192 H 317.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8E32AA
RGBrgb(142, 50, 170)
HSLhsl(286, 55%, 43%)
HSVhsv(286, 71%, 67%)
CMYKcmyk(16.5%, 70.6%, 0%, 33.3%)
CIE-LABlab(39.47, 56.05, -46.52)
CIE-LCHlch(39.47, 72.84, 320.31°)
OKLaboklab(50.28% 0.1411 -0.1307)
OKLCHoklch(50.28% 0.192 317.2)
XYZxyz(19.5506, 10.9351, 39.1033)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32AA #4EAA32
analogous
#5232AA #8E32AA #AA328A
triadic
#8E32AA #AA8E32 #32AA8E
tetradic
#8E32AA #AA5232 #4EAA32 #328AAA
square
#8E32AA #AA5232 #4EAA32 #328AAA
split-complementary
#8E32AA #8AAA32 #32AA52
monochromatic
#3F164B #66247B #8E32AA #AE4ECB #C47DD9

Accessibility & contrast

On white

6.59
#8E32AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8E32AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32AA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32AA#FFFFFF#000000##FFFFFF
##8E32AA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#3560A7
Tritanopia (blue-blind)
#8D4A6A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e32aa;
/* rgb */ color: rgb(142, 50, 170);
/* oklch */ color: oklch(50.3% 0.192 317.2);
Tailwind
colors: {
  custom: {
    50: '#b372c4',
    500: '#8e32aa',
    950: '#000000',
  },
}
SCSS
$custom: #8e32aa;
$custom-light: #b372c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32aa",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 286,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.19229,
    "h": 317.2
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#8E32AA
secondary
#88C276
accent
#DE4A6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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