#9D478D#9D478D

#9D478D is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.3% C 0.144 H 335.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9D478D
RGBrgb(157, 71, 141)
HSLhsl(311, 38%, 45%)
HSVhsv(311, 55%, 62%)
CMYKcmyk(0%, 54.8%, 10.2%, 38.4%)
CIE-LABlab(43.65, 44.98, -22.36)
CIE-LCHlch(43.65, 50.23, 333.57°)
OKLaboklab(53.27% 0.1303 -0.0606)
OKLCHoklch(53.27% 0.144 335.1)
XYZxyz(20.9657, 13.5992, 26.7148)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D478D #479D57
analogous
#82479D #9D478D #9D4762
triadic
#9D478D #8D9D47 #478D9D
tetradic
#9D478D #9D8247 #479D57 #47629D
square
#9D478D #9D8247 #479D57 #47629D
split-complementary
#9D478D #629D47 #479D82
monochromatic
#492141 #733467 #9D478D #BA67AB #CD91C2

Accessibility & contrast

On white

5.65
#9D478D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9D478D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D478D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D478D#FFFFFF#000000##FFFFFF
##9D478D1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#A44C64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d478d;
/* rgb */ color: rgb(157, 71, 141);
/* oklch */ color: oklch(53.3% 0.144 335.1);
Tailwind
colors: {
  custom: {
    50: '#bc7eae',
    500: '#9d478d',
    950: '#000000',
  },
}
SCSS
$custom: #9d478d;
$custom-light: #bc7eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d478d",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 311.163,
    "s": 37.719,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53275,
    "c": 0.14373,
    "h": 335.1
  },
  "luminance": 0.13598
}

Semantic roles & 50–950 ramp

primary
#9D478D
secondary
#87B990
accent
#CE705A
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9D478D

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

Preview Lab → · Contrast checker → · Palette generator →

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