#9C30AC#9C30AC

#9C30AC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.202 H 322.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9C30AC
RGBrgb(156, 48, 172)
HSLhsl(292, 56%, 43%)
HSVhsv(292, 72%, 67%)
CMYKcmyk(9.3%, 72.1%, 0%, 32.5%)
CIE-LABlab(41.47, 60.26, -44.39)
CIE-LCHlch(41.47, 74.84, 323.62°)
OKLaboklab(52.18% 0.1599 -0.124)
OKLCHoklch(52.18% 0.202 322.2)
XYZxyz(22.2129, 12.1616, 40.1991)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30AC #40AC30
analogous
#5E30AC #9C30AC #AC307E
triadic
#9C30AC #AC9C30 #30AC9C
tetradic
#9C30AC #AC5E30 #40AC30 #307EAC
square
#9C30AC #AC5E30 #40AC30 #307EAC
split-complementary
#9C30AC #7EAC30 #30AC5E
monochromatic
#45154C #71237C #9C30AC #BC4CCD #CE7CDA

Accessibility & contrast

On white

6.12
#9C30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9C30AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30AC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30AC#FFFFFF#000000##FFFFFF
##9C30AC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4166A9
Tritanopia (blue-blind)
#9E476B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c30ac;
/* rgb */ color: rgb(156, 48, 172);
/* oklch */ color: oklch(52.2% 0.202 322.2);
Tailwind
colors: {
  custom: {
    50: '#bd73c5',
    500: '#9c30ac',
    950: '#000000',
  },
}
SCSS
$custom: #9c30ac;
$custom-light: #bd73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30ac",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 292.258,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52179,
    "c": 0.20234,
    "h": 322.2
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#9C30AC
secondary
#7FC375
accent
#E0485C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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