#8E32AF#8E32AF

#8E32AF is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.197 H 315.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8E32AF
RGBrgb(142, 50, 175)
HSLhsl(284, 56%, 44%)
HSVhsv(284, 71%, 69%)
CMYKcmyk(18.9%, 71.4%, 0%, 31.4%)
CIE-LABlab(39.80, 57.06, -48.97)
CIE-LCHlch(39.80, 75.20, 319.36°)
OKLaboklab(50.61% 0.1406 -0.1379)
OKLCHoklch(50.61% 0.197 315.6)
XYZxyz(20.0326, 11.1279, 41.6418)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32AF #53AF32
analogous
#5032AF #8E32AF #AF3292
triadic
#8E32AF #AF8E32 #32AF8E
tetradic
#8E32AF #AF5032 #53AF32 #3292AF
square
#8E32AF #AF5032 #53AF32 #3292AF
split-complementary
#8E32AF #92AF32 #32AF50
monochromatic
#411750 #67247F #8E32AF #AC51CD #C381DB

Accessibility & contrast

On white

6.51
#8E32AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8E32AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32AF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32AF#FFFFFF#000000##FFFFFF
##8E32AF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#8C4C6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e32af;
/* rgb */ color: rgb(142, 50, 175);
/* oklch */ color: oklch(50.6% 0.197 315.6);
Tailwind
colors: {
  custom: {
    50: '#b372c7',
    500: '#8e32af',
    950: '#000000',
  },
}
SCSS
$custom: #8e32af;
$custom-light: #b372c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32af",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 284.16,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.19693,
    "h": 315.6
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#8E32AF
secondary
#8DC479
accent
#DF4971
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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