#9E32AA#9E32AA

#9E32AA is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.199 H 323.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9E32AA
RGBrgb(158, 50, 170)
HSLhsl(294, 55%, 43%)
HSVhsv(294, 71%, 67%)
CMYKcmyk(7.1%, 70.6%, 0%, 33.3%)
CIE-LABlab(41.93, 59.59, -42.45)
CIE-LCHlch(41.93, 73.17, 324.54°)
OKLaboklab(52.53% 0.1603 -0.1183)
OKLCHoklch(52.53% 0.199 323.6)
XYZxyz(22.4962, 12.4539, 39.2413)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32AA #3EAA32
analogous
#6232AA #9E32AA #AA327A
triadic
#9E32AA #AA9E32 #32AA9E
tetradic
#9E32AA #AA6232 #3EAA32 #327AAA
square
#9E32AA #AA6232 #3EAA32 #327AAA
split-complementary
#9E32AA #7AAA32 #32AA62
monochromatic
#46164B #72247B #9E32AA #BF4ECB #D07DD9

Accessibility & contrast

On white

6.02
#9E32AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9E32AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32AA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32AA#FFFFFF#000000##FFFFFF
##9E32AA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5BAD
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#A1476B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e32aa;
/* rgb */ color: rgb(158, 50, 170);
/* oklch */ color: oklch(52.5% 0.199 323.6);
Tailwind
colors: {
  custom: {
    50: '#be74c4',
    500: '#9e32aa',
    950: '#000000',
  },
}
SCSS
$custom: #9e32aa;
$custom-light: #be74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32aa",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 294,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.19921,
    "h": 323.6
  },
  "luminance": 0.12453
}

Semantic roles & 50–950 ramp

primary
#9E32AA
secondary
#7EC276
accent
#DE4A59
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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