#9F5D8F#9F5D8F

#9F5D8F is a mid, moderate pink. Relative luminance 0.172; OKLCH L 57.0% C 0.108 H 336.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9F5D8F
RGBrgb(159, 93, 143)
HSLhsl(315, 26%, 49%)
HSVhsv(315, 42%, 62%)
CMYKcmyk(0%, 41.5%, 10.1%, 37.6%)
CIE-LABlab(48.49, 34.37, -16.11)
CIE-LCHlch(48.49, 37.95, 334.89°)
OKLaboklab(56.97% 0.0994 -0.0432)
OKLCHoklch(56.97% 0.108 336.5)
XYZxyz(23.1703, 17.1841, 28.0777)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5D8F #5D9F6D
analogous
#8E5D9F #9F5D8F #9F5D6E
triadic
#9F5D8F #8F9F5D #5D8F9F
tetradic
#9F5D8F #9F8E5D #5D9F6D #5D6E9F
square
#9F5D8F #9F8E5D #5D9F6D #5D6E9F
split-complementary
#9F5D8F #6E9F5D #5D9F8E
monochromatic
#52304A #78466C #9F5D8F #B683AA #CDA9C4

Accessibility & contrast

On white

4.73
#9F5D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9F5D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F5D8F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5D8F#FFFFFF#000000##FFFFFF
##9F5D8F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D91
Deuteranopia (green-blind)
#6F778D
Tritanopia (blue-blind)
#A55F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f5d8f;
/* rgb */ color: rgb(159, 93, 143);
/* oklch */ color: oklch(57.0% 0.108 336.5);
Tailwind
colors: {
  custom: {
    50: '#bd8cb0',
    500: '#9f5d8f',
    950: '#000000',
  },
}
SCSS
$custom: #9f5d8f;
$custom-light: #bd8cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5d8f",
  "rgb": {
    "r": 159,
    "g": 93,
    "b": 143
  },
  "hsl": {
    "h": 314.545,
    "s": 26.19,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56971,
    "c": 0.10842,
    "h": 336.5
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#9F5D8F
secondary
#9DBBA4
accent
#C37C65
background
#FBF8FA
surface
#F7F0F4
border
#D0CBCE
text
#120C10
muted
#817D7F

Preview Lab

Preview with #9F5D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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