#9D497B#9D497B

#9D497B is a mid, vivid pink. Relative luminance 0.134; OKLCH L 52.8% C 0.127 H 345.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9D497B
RGBrgb(157, 73, 123)
HSLhsl(324, 37%, 45%)
HSVhsv(324, 54%, 62%)
CMYKcmyk(0%, 53.5%, 21.7%, 38.4%)
CIE-LABlab(43.31, 41.08, -11.94)
CIE-LCHlch(43.31, 42.78, 343.79°)
OKLaboklab(52.78% 0.1229 -0.0315)
OKLCHoklch(52.78% 0.127 345.6)
XYZxyz(19.8628, 13.3649, 20.2686)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D497B #499D6B
analogous
#95499D #9D497B #9D4951
triadic
#9D497B #7B9D49 #497B9D
tetradic
#9D497B #9D9549 #499D6B #49519D
square
#9D497B #9D9549 #499D6B #49519D
split-complementary
#9D497B #519D49 #499D95
monochromatic
#49223A #73365A #9D497B #BA6A99 #CD93B6

Accessibility & contrast

On white

5.72
#9D497B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9D497B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D497B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D497B#FFFFFF#000000##FFFFFF
##9D497B1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7D
Deuteranopia (green-blind)
#676C79
Tritanopia (blue-blind)
#A6485C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d497b;
/* rgb */ color: rgb(157, 73, 123);
/* oklch */ color: oklch(52.8% 0.127 345.6);
Tailwind
colors: {
  custom: {
    50: '#bc7fa1',
    500: '#9d497b',
    950: '#000000',
  },
}
SCSS
$custom: #9d497b;
$custom-light: #bc7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d497b",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 324.286,
    "s": 36.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.12687,
    "h": 345.6
  },
  "luminance": 0.13363
}

Semantic roles & 50–950 ramp

primary
#9D497B
secondary
#89B99C
accent
#CD895B
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#120A0F
muted
#817C7E

Preview Lab

Preview with #9D497B

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

Preview Lab → · Contrast checker → · Palette generator →

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