#9E32C2#9E32C2

#9E32C2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.220 H 316.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9E32C2
RGBrgb(158, 50, 194)
HSLhsl(285, 59%, 48%)
HSVhsv(285, 74%, 76%)
CMYKcmyk(18.6%, 74.2%, 0%, 23.9%)
CIE-LABlab(43.43, 64.11, -54.18)
CIE-LCHlch(43.43, 83.93, 319.80°)
OKLaboklab(54.08% 0.1584 -0.1526)
OKLCHoklch(54.08% 0.22 316.1)
XYZxyz(24.9772, 13.4463, 52.3082)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32C2 #56C232
analogous
#5632C2 #9E32C2 #C2329E
triadic
#9E32C2 #C29E32 #32C29E
tetradic
#9E32C2 #C25632 #56C232 #329EC2
square
#9E32C2 #C25632 #56C232 #329EC2
split-complementary
#9E32C2 #9EC232 #32C256
monochromatic
#4F1961 #762591 #9E32C2 #B75CD5 #CC8DE2

Accessibility & contrast

On white

5.69
#9E32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9E32C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32C2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32C2#FFFFFF#000000##FFFFFF
##9E32C21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#306ABF
Tritanopia (blue-blind)
#9C5178
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e32c2;
/* rgb */ color: rgb(158, 50, 194);
/* oklch */ color: oklch(54.1% 0.220 316.1);
Tailwind
colors: {
  custom: {
    50: '#bf75d5',
    500: '#9e32c2',
    950: '#000000',
  },
}
SCSS
$custom: #9e32c2;
$custom-light: #bf75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32c2",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 285,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54078,
    "c": 0.21997,
    "h": 316.1
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#9E32C2
secondary
#96CC84
accent
#E2466D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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