#9D4D8D#9D4D8D

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

Color values

HEX#9D4D8D
RGBrgb(157, 77, 141)
HSLhsl(312, 34%, 46%)
HSVhsv(312, 51%, 62%)
CMYKcmyk(0%, 51%, 10.2%, 38.4%)
CIE-LABlab(44.80, 41.94, -20.58)
CIE-LCHlch(44.80, 46.72, 333.86°)
OKLaboklab(54.13% 0.1215 -0.0557)
OKLCHoklch(54.13% 0.134 335.4)
XYZxyz(21.3663, 14.4004, 26.8483)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4D8D #4D9D5D
analogous
#854D9D #9D4D8D #9D4D65
triadic
#9D4D8D #8D9D4D #4D8D9D
tetradic
#9D4D8D #9D854D #4D9D5D #4D659D
square
#9D4D8D #9D854D #4D9D5D #4D659D
split-complementary
#9D4D8D #659D4D #4D9D85
monochromatic
#4B2543 #743968 #9D4D8D #B86FAA #CC98C2

Accessibility & contrast

On white

5.41
#9D4D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9D4D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4D8D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4D8D#FFFFFF#000000##FFFFFF
##9D4D8D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d4d8d;
/* rgb */ color: rgb(157, 77, 141);
/* oklch */ color: oklch(54.1% 0.134 335.4);
Tailwind
colors: {
  custom: {
    50: '#bc82ae',
    500: '#9d4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #9d4d8d;
$custom-light: #bc82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4d8d",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 312,
    "s": 34.188,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.13361,
    "h": 335.4
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#9D4D8D
secondary
#8DB996
accent
#CA735E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9D4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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