#9E32C7#9E32C7

#9E32C7 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.224 H 314.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9E32C7
RGBrgb(158, 50, 199)
HSLhsl(283, 60%, 49%)
HSVhsv(283, 75%, 78%)
CMYKcmyk(20.6%, 74.9%, 0%, 22%)
CIE-LABlab(43.76, 65.09, -56.55)
CIE-LCHlch(43.76, 86.22, 319.02°)
OKLaboklab(54.42% 0.1577 -0.1596)
OKLCHoklch(54.42% 0.224 314.7)
XYZxyz(25.5482, 13.6747, 55.3155)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32C7 #5BC732
analogous
#5432C7 #9E32C7 #C732A6
triadic
#9E32C7 #C79E32 #32C79E
tetradic
#9E32C7 #C75432 #5BC732 #32A6C7
square
#9E32C7 #C75432 #5BC732 #32A6C7
split-complementary
#9E32C7 #A6C732 #32C754
monochromatic
#501965 #772696 #9E32C7 #B65FD7 #CC90E3

Accessibility & contrast

On white

5.62
#9E32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9E32C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32C7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32C7#FFFFFF#000000##FFFFFF
##9E32C71.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#2A6AC4
Tritanopia (blue-blind)
#9A537B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e32c7;
/* rgb */ color: rgb(158, 50, 199);
/* oklch */ color: oklch(54.4% 0.224 314.7);
Tailwind
colors: {
  custom: {
    50: '#bf75d9',
    500: '#9e32c7',
    950: '#000000',
  },
}
SCSS
$custom: #9e32c7;
$custom-light: #bf75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32c7",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 283.49,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.22437,
    "h": 314.7
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#9E32C7
secondary
#9ACE87
accent
#E34570
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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