#9E33AC#9E33AC

#9E33AC is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.200 H 322.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9E33AC
RGBrgb(158, 51, 172)
HSLhsl(293, 54%, 44%)
HSVhsv(293, 70%, 67%)
CMYKcmyk(8.1%, 70.3%, 0%, 32.5%)
CIE-LABlab(42.18, 59.58, -43.24)
CIE-LCHlch(42.18, 73.62, 324.03°)
OKLaboklab(52.75% 0.1592 -0.1206)
OKLCHoklch(52.75% 0.2 322.9)
XYZxyz(22.7300, 12.6166, 40.2597)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E33AC #41AC33
analogous
#6133AC #9E33AC #AC337D
triadic
#9E33AC #AC9E33 #33AC9E
tetradic
#9E33AC #AC6133 #41AC33 #337DAC
square
#9E33AC #AC6133 #41AC33 #337DAC
split-complementary
#9E33AC #7DAC33 #33AC61
monochromatic
#47174E #73257D #9E33AC #BD51CB #CF80D9

Accessibility & contrast

On white

5.96
#9E33AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9E33AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E33AC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E33AC#FFFFFF#000000##FFFFFF
##9E33AC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085CAF
Deuteranopia (green-blind)
#4568A9
Tritanopia (blue-blind)
#A0486C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e33ac;
/* rgb */ color: rgb(158, 51, 172);
/* oklch */ color: oklch(52.7% 0.200 322.9);
Tailwind
colors: {
  custom: {
    50: '#be74c5',
    500: '#9e33ac',
    950: '#000000',
  },
}
SCSS
$custom: #9e33ac;
$custom-light: #be74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e33ac",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 293.058,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.19972,
    "h": 322.9
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#9E33AC
secondary
#81C278
accent
#DE4A5B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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