#9F5C91#9F5C91

#9F5C91 is a mid, moderate pink. Relative luminance 0.171; OKLCH L 56.9% C 0.112 H 335.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9F5C91
RGBrgb(159, 92, 145)
HSLhsl(313, 27%, 49%)
HSVhsv(313, 42%, 62%)
CMYKcmyk(0%, 42.1%, 8.8%, 37.6%)
CIE-LABlab(48.35, 35.27, -17.52)
CIE-LCHlch(48.35, 39.38, 333.59°)
OKLaboklab(56.89% 0.1016 -0.0472)
OKLCHoklch(56.89% 0.112 335.1)
XYZxyz(23.2360, 17.0709, 28.8537)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5C91 #5C9F6A
analogous
#8C5C9F #9F5C91 #9F5C70
triadic
#9F5C91 #919F5C #5C919F
tetradic
#9F5C91 #9F8C5C #5C9F6A #5C709F
square
#9F5C91 #9F8C5C #5C9F6A #5C709F
split-complementary
#9F5C91 #709F5C #5C9F8C
monochromatic
#512F4A #78466E #9F5C91 #B682AB #CDA8C5

Accessibility & contrast

On white

4.76
#9F5C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9F5C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F5C91
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5C91#FFFFFF#000000##FFFFFF
##9F5C911.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f5c91;
/* rgb */ color: rgb(159, 92, 145);
/* oklch */ color: oklch(56.9% 0.112 335.1);
Tailwind
colors: {
  custom: {
    50: '#bd8cb1',
    500: '#9f5c91',
    950: '#000000',
  },
}
SCSS
$custom: #9f5c91;
$custom-light: #bd8cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5c91",
  "rgb": {
    "r": 159,
    "g": 92,
    "b": 145
  },
  "hsl": {
    "h": 312.537,
    "s": 26.693,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56889,
    "c": 0.11198,
    "h": 335.1
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#9F5C91
secondary
#9CBBA2
accent
#C37865
background
#FBF8FA
surface
#F7F0F5
border
#D0CBCF
text
#120C10
muted
#817D7F

Preview Lab

Preview with #9F5C91

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

Preview Lab → · Contrast checker → · Palette generator →

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