#9E32B5#9E32B5

#9E32B5 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.209 H 320.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9E32B5
RGBrgb(158, 50, 181)
HSLhsl(289, 57%, 45%)
HSVhsv(289, 72%, 71%)
CMYKcmyk(12.7%, 72.4%, 0%, 29%)
CIE-LABlab(42.59, 61.62, -47.90)
CIE-LCHlch(42.59, 78.05, 322.14°)
OKLaboklab(53.22% 0.1597 -0.1342)
OKLCHoklch(53.22% 0.209 320)
XYZxyz(23.5806, 12.8877, 44.9526)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32B5 #49B532
analogous
#5D32B5 #9E32B5 #B5328A
triadic
#9E32B5 #B59E32 #32B59E
tetradic
#9E32B5 #B55D32 #49B532 #328AB5
square
#9E32B5 #B55D32 #49B532 #328AB5
split-complementary
#9E32B5 #8AB532 #32B55D
monochromatic
#4A1855 #742585 #9E32B5 #BA54D0 #CE84DD

Accessibility & contrast

On white

5.87
#9E32B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9E32B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32B5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32B5#FFFFFF#000000##FFFFFF
##9E32B51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3E68B2
Tritanopia (blue-blind)
#9E4B71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e32b5;
/* rgb */ color: rgb(158, 50, 181);
/* oklch */ color: oklch(53.2% 0.209 320.0);
Tailwind
colors: {
  custom: {
    50: '#be74cc',
    500: '#9e32b5',
    950: '#000000',
  },
}
SCSS
$custom: #9e32b5;
$custom-light: #be74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32b5",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 289.466,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.20863,
    "h": 320
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#9E32B5
secondary
#89C77C
accent
#E04863
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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