#9D4D8A#9D4D8A

#9D4D8A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.0% C 0.131 H 337.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9D4D8A
RGBrgb(157, 77, 138)
HSLhsl(314, 34%, 46%)
HSVhsv(314, 51%, 62%)
CMYKcmyk(0%, 51%, 12.1%, 38.4%)
CIE-LABlab(44.68, 41.43, -18.97)
CIE-LCHlch(44.68, 45.56, 335.40°)
OKLaboklab(53.99% 0.1208 -0.0511)
OKLCHoklch(53.99% 0.131 337.1)
XYZxyz(21.1461, 14.3123, 25.6886)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4D8A #4D9D60
analogous
#884D9D #9D4D8A #9D4D62
triadic
#9D4D8A #8A9D4D #4D8A9D
tetradic
#9D4D8A #9D884D #4D9D60 #4D629D
square
#9D4D8A #9D884D #4D9D60 #4D629D
split-complementary
#9D4D8A #629D4D #4D9D88
monochromatic
#4B2542 #743966 #9D4D8A #B86FA7 #CC98C0

Accessibility & contrast

On white

5.44
#9D4D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9D4D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4D8A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4D8A#FFFFFF#000000##FFFFFF
##9D4D8A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d4d8a;
/* rgb */ color: rgb(157, 77, 138);
/* oklch */ color: oklch(54.0% 0.131 337.1);
Tailwind
colors: {
  custom: {
    50: '#bc82ac',
    500: '#9d4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #9d4d8a;
$custom-light: #bc82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4d8a",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 314.25,
    "s": 34.188,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.13112,
    "h": 337.1
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#9D4D8A
secondary
#8DB997
accent
#CA775E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9D4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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