#9C33AC#9C33AC

#9C33AC is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.199 H 322.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9C33AC
RGBrgb(156, 51, 172)
HSLhsl(292, 54%, 44%)
HSVhsv(292, 70%, 67%)
CMYKcmyk(9.3%, 70.3%, 0%, 32.5%)
CIE-LABlab(41.87, 59.13, -43.75)
CIE-LCHlch(41.87, 73.56, 323.50°)
OKLaboklab(52.46% 0.1569 -0.1222)
OKLCHoklch(52.46% 0.199 322.1)
XYZxyz(22.3397, 12.4154, 40.2414)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C33AC #43AC33
analogous
#5F33AC #9C33AC #AC337F
triadic
#9C33AC #AC9C33 #33AC9C
tetradic
#9C33AC #AC5F33 #43AC33 #337FAC
square
#9C33AC #AC5F33 #43AC33 #337FAC
split-complementary
#9C33AC #7FAC33 #33AC5F
monochromatic
#46174E #71257D #9C33AC #BB51CB #CE80D9

Accessibility & contrast

On white

6.03
#9C33AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C33AC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C33AC#FFFFFF#000000##FFFFFF
##9C33AC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035BAF
Deuteranopia (green-blind)
#4367A9
Tritanopia (blue-blind)
#9E486C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c33ac;
/* rgb */ color: rgb(156, 51, 172);
/* oklch */ color: oklch(52.5% 0.199 322.1);
Tailwind
colors: {
  custom: {
    50: '#bd74c5',
    500: '#9c33ac',
    950: '#000000',
  },
}
SCSS
$custom: #9c33ac;
$custom-light: #bd74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c33ac",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 292.066,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52463,
    "c": 0.19882,
    "h": 322.1
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#9C33AC
secondary
#82C278
accent
#DE4A5E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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