#9C3CA6#9C3CA6

#9C3CA6 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.1% C 0.182 H 323.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9C3CA6
RGBrgb(156, 60, 166)
HSLhsl(294, 47%, 44%)
HSVhsv(294, 64%, 65%)
CMYKcmyk(6%, 63.9%, 0%, 34.9%)
CIE-LABlab(42.84, 54.32, -38.63)
CIE-LCHlch(42.84, 66.66, 324.58°)
OKLaboklab(53.06% 0.1468 -0.1073)
OKLCHoklch(53.06% 0.182 323.8)
XYZxyz(22.2085, 13.0541, 37.4189)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3CA6 #46A63C
analogous
#673CA6 #9C3CA6 #A63C7B
triadic
#9C3CA6 #A69C3C #3CA69C
tetradic
#9C3CA6 #A6673C #46A63C #3C7BA6
square
#9C3CA6 #A6673C #46A63C #3C7BA6
split-complementary
#9C3CA6 #7BA63C #3CA667
monochromatic
#481C4C #722C79 #9C3CA6 #BA5BC4 #CD88D4

Accessibility & contrast

On white

5.82
#9C3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9C3CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3CA6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3CA6#FFFFFF#000000##FFFFFF
##9C3CA61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EA9
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#9F4C6C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c3ca6;
/* rgb */ color: rgb(156, 60, 166);
/* oklch */ color: oklch(53.1% 0.182 323.8);
Tailwind
colors: {
  custom: {
    50: '#bc79c1',
    500: '#9c3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ca6;
$custom-light: #bc79c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ca6",
  "rgb": {
    "r": 156,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 294.34,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.18182,
    "h": 323.8
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#9C3CA6
secondary
#85BE7F
accent
#D7515E
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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