#9C3C8A#9C3C8A

#9C3C8A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.158 H 335.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9C3C8A
RGBrgb(156, 60, 138)
HSLhsl(311, 44%, 42%)
HSVhsv(311, 62%, 61%)
CMYKcmyk(0%, 61.5%, 11.5%, 38.8%)
CIE-LABlab(41.43, 49.42, -23.99)
CIE-LCHlch(41.43, 54.93, 334.10°)
OKLaboklab(51.57% 0.144 -0.0652)
OKLCHoklch(51.57% 0.158 335.6)
XYZxyz(19.9138, 12.1362, 25.3335)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3C8A #3C9C4E
analogous
#7E3C9C #9C3C8A #9C3C5A
triadic
#9C3C8A #8A9C3C #3C8A9C
tetradic
#9C3C8A #9C7E3C #3C9C4E #3C5A9C
square
#9C3C8A #9C7E3C #3C9C4E #3C5A9C
split-complementary
#9C3C8A #5A9C3C #3C9C7E
monochromatic
#441A3C #702B63 #9C3C8A #BE57AB #CF83C1

Accessibility & contrast

On white

6.13
#9C3C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C3C8A
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3C8A#FFFFFF#000000##FFFFFF
##9C3C8A1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#A3415D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c3c8a;
/* rgb */ color: rgb(156, 60, 138);
/* oklch */ color: oklch(51.6% 0.158 335.6);
Tailwind
colors: {
  custom: {
    50: '#bc78ac',
    500: '#9c3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c3c8a;
$custom-light: #bc78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3c8a",
  "rgb": {
    "r": 156,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 311.25,
    "s": 44.444,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.15802,
    "h": 335.6
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#9C3C8A
secondary
#7AB986
accent
#D46C54
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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