#9D5F8D#9D5F8D

#9D5F8D is a mid, moderate pink. Relative luminance 0.173; OKLCH L 57.0% C 0.101 H 337.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9D5F8D
RGBrgb(157, 95, 141)
HSLhsl(315, 25%, 49%)
HSVhsv(315, 39%, 62%)
CMYKcmyk(0%, 39.5%, 10.2%, 38.4%)
CIE-LABlab(48.61, 32.21, -14.77)
CIE-LCHlch(48.61, 35.44, 335.38°)
OKLaboklab(56.98% 0.0932 -0.0395)
OKLCHoklch(56.98% 0.101 337)
XYZxyz(22.8045, 17.2768, 27.3277)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5F8D #5F9D6F
analogous
#8E5F9D #9D5F8D #9D5F6E
triadic
#9D5F8D #8D9D5F #5F8D9D
tetradic
#9D5F8D #9D8E5F #5F9D6F #5F6E9D
square
#9D5F8D #9D8E5F #5F9D6F #5F6E9D
split-complementary
#9D5F8D #6E9D5F #5F9D8E
monochromatic
#513149 #77486B #9D5F8D #B584A8 #CCABC3

Accessibility & contrast

On white

4.71
#9D5F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9D5F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5F8D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5F8D#FFFFFF#000000##FFFFFF
##9D5F8D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606E8F
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#A36170
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d5f8d;
/* rgb */ color: rgb(157, 95, 141);
/* oklch */ color: oklch(57.0% 0.101 337.0);
Tailwind
colors: {
  custom: {
    50: '#bb8eae',
    500: '#9d5f8d',
    950: '#000000',
  },
}
SCSS
$custom: #9d5f8d;
$custom-light: #bb8eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5f8d",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 315.484,
    "s": 24.603,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56978,
    "c": 0.10128,
    "h": 337
  },
  "luminance": 0.17276
}

Semantic roles & 50–950 ramp

primary
#9D5F8D
secondary
#9EBAA5
accent
#C17E67
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#120C10
muted
#817D7F

Preview Lab

Preview with #9D5F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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