#9E32A4#9E32A4

#9E32A4 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.194 H 325.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9E32A4
RGBrgb(158, 50, 164)
HSLhsl(297, 53%, 42%)
HSVhsv(297, 70%, 64%)
CMYKcmyk(3.7%, 69.5%, 0%, 35.7%)
CIE-LABlab(41.58, 58.52, -39.42)
CIE-LCHlch(41.58, 70.56, 326.03°)
OKLaboklab(52.17% 0.1604 -0.1095)
OKLCHoklch(52.17% 0.194 325.7)
XYZxyz(21.9415, 12.2321, 36.3201)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32A4 #38A432
analogous
#6532A4 #9E32A4 #A43271
triadic
#9E32A4 #A49E32 #32A49E
tetradic
#9E32A4 #A46532 #38A432 #3271A4
square
#9E32A4 #A46532 #38A432 #3271A4
split-complementary
#9E32A4 #71A432 #32A465
monochromatic
#441546 #712475 #9E32A4 #C24BC8 #D27AD6

Accessibility & contrast

On white

6.09
#9E32A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9E32A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32A4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32A4#FFFFFF#000000##FFFFFF
##9E32A41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A7
Deuteranopia (green-blind)
#4A67A1
Tritanopia (blue-blind)
#A24467
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e32a4;
/* rgb */ color: rgb(158, 50, 164);
/* oklch */ color: oklch(52.2% 0.194 325.7);
Tailwind
colors: {
  custom: {
    50: '#be74bf',
    500: '#9e32a4',
    950: '#000000',
  },
}
SCSS
$custom: #9e32a4;
$custom-light: #be74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32a4",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 296.842,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.19417,
    "h": 325.7
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#9E32A4
secondary
#77BF73
accent
#DD4B53
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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