#9C4D8A#9C4D8A

#9C4D8A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 53.9% C 0.130 H 336.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9C4D8A
RGBrgb(156, 77, 138)
HSLhsl(314, 34%, 46%)
HSVhsv(314, 51%, 61%)
CMYKcmyk(0%, 50.6%, 11.5%, 38.8%)
CIE-LABlab(44.54, 41.11, -19.20)
CIE-LCHlch(44.54, 45.37, 334.97°)
OKLaboklab(53.86% 0.1196 -0.0518)
OKLCHoklch(53.86% 0.13 336.6)
XYZxyz(20.9517, 14.2121, 25.6795)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4D8A #4D9C5F
analogous
#864D9C #9C4D8A #9C4D62
triadic
#9C4D8A #8A9C4D #4D8A9C
tetradic
#9C4D8A #9C864D #4D9C5F #4D629C
square
#9C4D8A #9C864D #4D9C5F #4D629C
split-complementary
#9C4D8A #629C4D #4D9C86
monochromatic
#4A2542 #733966 #9C4D8A #B86FA7 #CC97C0

Accessibility & contrast

On white

5.47
#9C4D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9C4D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4D8A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4D8A#FFFFFF#000000##FFFFFF
##9C4D8A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628C
Deuteranopia (green-blind)
#646E88
Tritanopia (blue-blind)
#A35065
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c4d8a;
/* rgb */ color: rgb(156, 77, 138);
/* oklch */ color: oklch(53.9% 0.130 336.6);
Tailwind
colors: {
  custom: {
    50: '#bb82ac',
    500: '#9c4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c4d8a;
$custom-light: #bb82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4d8a",
  "rgb": {
    "r": 156,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 313.671,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.13031,
    "h": 336.6
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#9C4D8A
secondary
#8CB896
accent
#CA765E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9C4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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