#9C4E8D#9C4E8D

#9C4E8D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.1% C 0.131 H 335.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9C4E8D
RGBrgb(156, 78, 141)
HSLhsl(312, 33%, 46%)
HSVhsv(312, 50%, 61%)
CMYKcmyk(0%, 50%, 9.6%, 38.8%)
CIE-LABlab(44.86, 41.11, -20.51)
CIE-LCHlch(44.86, 45.94, 333.49°)
OKLaboklab(54.14% 0.1188 -0.0555)
OKLCHoklch(54.14% 0.131 335)
XYZxyz(21.2424, 14.4412, 26.8627)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4E8D #4E9C5D
analogous
#844E9C #9C4E8D #9C4E66
triadic
#9C4E8D #8D9C4E #4E8D9C
tetradic
#9C4E8D #9C844E #4E9C5D #4E669C
square
#9C4E8D #9C844E #4E9C5D #4E669C
split-complementary
#9C4E8D #669C4E #4E9C84
monochromatic
#4A2543 #733A68 #9C4E8D #B770AA #CC99C2

Accessibility & contrast

On white

5.40
#9C4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9C4E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4E8D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4E8D#FFFFFF#000000##FFFFFF
##9C4E8D1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#A35267
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c4e8d;
/* rgb */ color: rgb(156, 78, 141);
/* oklch */ color: oklch(54.1% 0.131 335.0);
Tailwind
colors: {
  custom: {
    50: '#bb82ae',
    500: '#9c4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9c4e8d;
$custom-light: #bb82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4e8d",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 311.538,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5414,
    "c": 0.13109,
    "h": 335
  },
  "luminance": 0.1444
}

Semantic roles & 50–950 ramp

primary
#9C4E8D
secondary
#8DB896
accent
#C9735E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9C4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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