#9C5D91#9C5D91

#9C5D91 is a mid, moderate pink. Relative luminance 0.169; OKLCH L 56.7% C 0.108 H 333.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9C5D91
RGBrgb(156, 93, 145)
HSLhsl(310, 25%, 49%)
HSVhsv(310, 40%, 61%)
CMYKcmyk(0%, 40.4%, 7.1%, 38.8%)
CIE-LABlab(48.19, 33.71, -17.80)
CIE-LCHlch(48.19, 38.12, 332.17°)
OKLaboklab(56.68% 0.0964 -0.048)
OKLCHoklch(56.68% 0.108 333.5)
XYZxyz(22.7353, 16.9421, 28.8552)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5D91 #5D9C68
analogous
#885D9C #9C5D91 #9C5D72
triadic
#9C5D91 #919C5D #5D919C
tetradic
#9C5D91 #9C885D #5D9C68 #5D729C
square
#9C5D91 #9C885D #5D9C68 #5D729C
split-complementary
#9C5D91 #729C5D #5D9C88
monochromatic
#4F2F4A #76466D #9C5D91 #B482AC #CBA8C5

Accessibility & contrast

On white

4.79
#9C5D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9C5D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C5D91
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5D91#FFFFFF#000000##FFFFFF
##9C5D911.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6D93
Deuteranopia (green-blind)
#6D768F
Tritanopia (blue-blind)
#A16070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c5d91;
/* rgb */ color: rgb(156, 93, 145);
/* oklch */ color: oklch(56.7% 0.108 333.5);
Tailwind
colors: {
  custom: {
    50: '#ba8cb1',
    500: '#9c5d91',
    950: '#000000',
  },
}
SCSS
$custom: #9c5d91;
$custom-light: #ba8cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5d91",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 310.476,
    "s": 25.301,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56685,
    "c": 0.10768,
    "h": 333.5
  },
  "luminance": 0.16941
}

Semantic roles & 50–950 ramp

primary
#9C5D91
secondary
#9BB9A1
accent
#C27666
background
#FBF8FA
surface
#F6F0F5
border
#D0CBCF
text
#120C10
muted
#817D7F

Preview Lab

Preview with #9C5D91

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

Preview Lab → · Contrast checker → · Palette generator →

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