#9C4E8A#9C4E8A

#9C4E8A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.0% C 0.129 H 336.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9C4E8A
RGBrgb(156, 78, 138)
HSLhsl(314, 33%, 46%)
HSVhsv(314, 50%, 61%)
CMYKcmyk(0%, 50%, 11.5%, 38.8%)
CIE-LABlab(44.74, 40.59, -18.89)
CIE-LCHlch(44.74, 44.77, 335.04°)
OKLaboklab(54.01% 0.1181 -0.0509)
OKLCHoklch(54.01% 0.129 336.7)
XYZxyz(21.0222, 14.3531, 25.7030)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4E8A #4E9C60
analogous
#874E9C #9C4E8A #9C4E63
triadic
#9C4E8A #8A9C4E #4E8A9C
tetradic
#9C4E8A #9C874E #4E9C60 #4E639C
square
#9C4E8A #9C874E #4E9C60 #4E639C
split-complementary
#9C4E8A #639C4E #4E9C87
monochromatic
#4A2542 #733A66 #9C4E8A #B770A7 #CC99C0

Accessibility & contrast

On white

5.43
#9C4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9C4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4E8A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4E8A#FFFFFF#000000##FFFFFF
##9C4E8A1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628C
Deuteranopia (green-blind)
#656E88
Tritanopia (blue-blind)
#A35165
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c4e8a;
/* rgb */ color: rgb(156, 78, 138);
/* oklch */ color: oklch(54.0% 0.129 336.7);
Tailwind
colors: {
  custom: {
    50: '#bb82ac',
    500: '#9c4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c4e8a;
$custom-light: #bb82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4e8a",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 313.846,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.12858,
    "h": 336.7
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

primary
#9C4E8A
secondary
#8DB897
accent
#C9775E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9C4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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