#9D3487#9D3487

#9D3487 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.168 H 337.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9D3487
RGBrgb(157, 52, 135)
HSLhsl(313, 50%, 41%)
HSVhsv(313, 67%, 62%)
CMYKcmyk(0%, 66.9%, 14%, 38.4%)
CIE-LABlab(40.20, 52.66, -24.05)
CIE-LCHlch(40.20, 57.90, 335.45°)
OKLaboklab(50.66% 0.1548 -0.0652)
OKLCHoklch(50.66% 0.168 337.1)
XYZxyz(19.5061, 11.3750, 24.0852)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3487 #349D4A
analogous
#7E349D #9D3487 #9D3453
triadic
#9D3487 #879D34 #34879D
tetradic
#9D3487 #9D7E34 #349D4A #34539D
square
#9D3487 #9D7E34 #349D4A #34539D
split-complementary
#9D3487 #539D34 #349D7E
monochromatic
#411638 #6F255F #9D3487 #C34BAA #D379C0

Accessibility & contrast

On white

6.41
#9D3487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9D3487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3487
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3487#FFFFFF#000000##FFFFFF
##9D34871.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#586584
Tritanopia (blue-blind)
#A53959
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d3487;
/* rgb */ color: rgb(157, 52, 135);
/* oklch */ color: oklch(50.7% 0.168 337.1);
Tailwind
colors: {
  custom: {
    50: '#bd74aa',
    500: '#9d3487',
    950: '#000000',
  },
}
SCSS
$custom: #9d3487;
$custom-light: #bd74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3487",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 312.571,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50656,
    "c": 0.16795,
    "h": 337.1
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#9D3487
secondary
#72BB81
accent
#DA6B4E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D3487

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

Preview Lab → · Contrast checker → · Palette generator →

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