#9E32B0#9E32B0

#9E32B0 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.204 H 321.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9E32B0
RGBrgb(158, 50, 176)
HSLhsl(291, 56%, 44%)
HSVhsv(291, 72%, 69%)
CMYKcmyk(10.2%, 71.6%, 0%, 31%)
CIE-LABlab(42.29, 60.69, -45.44)
CIE-LCHlch(42.29, 75.82, 323.18°)
OKLaboklab(52.9% 0.16 -0.127)
OKLCHoklch(52.9% 0.204 321.6)
XYZxyz(23.0768, 12.6861, 42.2990)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32B0 #44B032
analogous
#5F32B0 #9E32B0 #B03283
triadic
#9E32B0 #B09E32 #32B09E
tetradic
#9E32B0 #B05F32 #44B032 #3283B0
square
#9E32B0 #B05F32 #44B032 #3283B0
split-complementary
#9E32B0 #83B032 #32B05F
monochromatic
#481751 #732480 #9E32B0 #BC51CE #CE81DB

Accessibility & contrast

On white

5.94
#9E32B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9E32B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32B0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32B0#FFFFFF#000000##FFFFFF
##9E32B01.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#4268AD
Tritanopia (blue-blind)
#A0496E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e32b0;
/* rgb */ color: rgb(158, 50, 176);
/* oklch */ color: oklch(52.9% 0.204 321.6);
Tailwind
colors: {
  custom: {
    50: '#be74c8',
    500: '#9e32b0',
    950: '#000000',
  },
}
SCSS
$custom: #9e32b0;
$custom-light: #be74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32b0",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 291.429,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.20432,
    "h": 321.6
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#9E32B0
secondary
#84C479
accent
#DF495E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E32B0

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

Preview Lab → · Contrast checker → · Palette generator →

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