#9D4E8A#9D4E8A

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

Color values

HEX#9D4E8A
RGBrgb(157, 78, 138)
HSLhsl(314, 34%, 46%)
HSVhsv(314, 50%, 62%)
CMYKcmyk(0%, 50.3%, 12.1%, 38.4%)
CIE-LABlab(44.88, 40.91, -18.66)
CIE-LCHlch(44.88, 44.97, 335.48°)
OKLaboklab(54.14% 0.1192 -0.0503)
OKLCHoklch(54.14% 0.129 337.1)
XYZxyz(21.2166, 14.4533, 25.7121)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4E8A #4E9D61
analogous
#884E9D #9D4E8A #9D4E62
triadic
#9D4E8A #8A9D4E #4E8A9D
tetradic
#9D4E8A #9D884E #4E9D61 #4E629D
square
#9D4E8A #9D884E #4E9D61 #4E629D
split-complementary
#9D4E8A #629D4E #4E9D88
monochromatic
#4B2542 #743A66 #9D4E8A #B870A7 #CC99C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4E8A#FFFFFF#000000##FFFFFF
##9D4E8A1.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)
#50638C
Deuteranopia (green-blind)
#656F88
Tritanopia (blue-blind)
#A45166
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d4e8a;
/* rgb */ color: rgb(157, 78, 138);
/* oklch */ color: oklch(54.1% 0.129 337.1);
Tailwind
colors: {
  custom: {
    50: '#bc82ac',
    500: '#9d4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9d4e8a;
$custom-light: #bc82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4e8a",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 314.43,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54141,
    "c": 0.12939,
    "h": 337.1
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#9D4E8A
secondary
#8EB998
accent
#CA785E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9D4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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