#9E32A8#9E32A8

#9E32A8 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.198 H 324.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9E32A8
RGBrgb(158, 50, 168)
HSLhsl(295, 54%, 43%)
HSVhsv(295, 70%, 66%)
CMYKcmyk(6%, 70.2%, 0%, 34.1%)
CIE-LABlab(41.81, 59.23, -41.45)
CIE-LCHlch(41.81, 72.29, 325.02°)
OKLaboklab(52.41% 0.1603 -0.1154)
OKLCHoklch(52.41% 0.198 324.3)
XYZxyz(22.3084, 12.3788, 38.2525)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32A8 #3CA832
analogous
#6332A8 #9E32A8 #A83277
triadic
#9E32A8 #A89E32 #32A89E
tetradic
#9E32A8 #A86332 #3CA832 #3277A8
square
#9E32A8 #A86332 #3CA832 #3277A8
split-complementary
#9E32A8 #77A832 #32A863
monochromatic
#45164A #722479 #9E32A8 #BF4DCA #D07CD8

Accessibility & contrast

On white

6.04
#9E32A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9E32A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32A8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32A8#FFFFFF#000000##FFFFFF
##9E32A81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115AAB
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#A14669
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e32a8;
/* rgb */ color: rgb(158, 50, 168);
/* oklch */ color: oklch(52.4% 0.198 324.3);
Tailwind
colors: {
  custom: {
    50: '#be74c2',
    500: '#9e32a8',
    950: '#000000',
  },
}
SCSS
$custom: #9e32a8;
$custom-light: #be74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32a8",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 294.915,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52409,
    "c": 0.19752,
    "h": 324.3
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#9E32A8
secondary
#7BC175
accent
#DD4A57
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9E32A8

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

Preview Lab → · Contrast checker → · Palette generator →

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