#9F5E8D#9F5E8D

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

Color values

HEX#9F5E8D
RGBrgb(159, 94, 141)
HSLhsl(317, 26%, 50%)
HSVhsv(317, 41%, 62%)
CMYKcmyk(0%, 40.9%, 11.3%, 37.6%)
CIE-LABlab(48.64, 33.46, -14.70)
CIE-LCHlch(48.64, 36.55, 336.29°)
OKLaboklab(57.06% 0.0972 -0.0393)
OKLCHoklch(57.06% 0.105 338)
XYZxyz(23.1085, 17.3007, 27.3163)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5E8D #5E9F70
analogous
#915E9F #9F5E8D #9F5E6D
triadic
#9F5E8D #8D9F5E #5E8D9F
tetradic
#9F5E8D #9F915E #5E9F70 #5E6D9F
square
#9F5E8D #9F915E #5E9F70 #5E6D9F
split-complementary
#9F5E8D #6D9F5E #5E9F91
monochromatic
#523149 #79476B #9F5E8D #B684A8 #CDAAC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F5E8D#FFFFFF#000000##FFFFFF
##9F5E8D1.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)
#606D8F
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#A6606F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f5e8d;
/* rgb */ color: rgb(159, 94, 141);
/* oklch */ color: oklch(57.1% 0.105 338.0);
Tailwind
colors: {
  custom: {
    50: '#bd8dae',
    500: '#9f5e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9f5e8d;
$custom-light: #bd8dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5e8d",
  "rgb": {
    "r": 159,
    "g": 94,
    "b": 141
  },
  "hsl": {
    "h": 316.615,
    "s": 25.692,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.10488,
    "h": 338
  },
  "luminance": 0.17299
}

Semantic roles & 50–950 ramp

primary
#9F5E8D
secondary
#9EBBA6
accent
#C27F66
background
#FBF8FA
surface
#F7F0F4
border
#D0CBCE
text
#120C10
muted
#817D7F

Preview Lab

Preview with #9F5E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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