#9E32AC#9E32AC

#9E32AC is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.201 H 322.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9E32AC
RGBrgb(158, 50, 172)
HSLhsl(293, 55%, 44%)
HSVhsv(293, 71%, 67%)
CMYKcmyk(8.1%, 70.9%, 0%, 32.5%)
CIE-LABlab(42.05, 59.96, -43.45)
CIE-LCHlch(42.05, 74.05, 324.07°)
OKLaboklab(52.65% 0.1602 -0.1212)
OKLCHoklch(52.65% 0.201 322.9)
XYZxyz(22.6868, 12.5302, 40.2453)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32AC #40AC32
analogous
#6132AC #9E32AC #AC327D
triadic
#9E32AC #AC9E32 #32AC9E
tetradic
#9E32AC #AC6132 #40AC32 #327DAC
square
#9E32AC #AC6132 #40AC32 #327DAC
split-complementary
#9E32AC #7DAC32 #32AC61
monochromatic
#47164D #72247D #9E32AC #BE4FCC #CF7FDA

Accessibility & contrast

On white

5.99
#9E32AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9E32AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32AC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32AC#FFFFFF#000000##FFFFFF
##9E32AC1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAF
Deuteranopia (green-blind)
#4567A9
Tritanopia (blue-blind)
#A0476C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e32ac;
/* rgb */ color: rgb(158, 50, 172);
/* oklch */ color: oklch(52.7% 0.201 322.9);
Tailwind
colors: {
  custom: {
    50: '#be74c5',
    500: '#9e32ac',
    950: '#000000',
  },
}
SCSS
$custom: #9e32ac;
$custom-light: #be74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32ac",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 293.115,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52652,
    "c": 0.2009,
    "h": 322.9
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#9E32AC
secondary
#80C377
accent
#DE4A5B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E32AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9E32AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva