#9C5B99#9C5B99

#9C5B99 is a mid, moderate purple. Relative luminance 0.169; OKLCH L 56.7% C 0.119 H 328.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9C5B99
RGBrgb(156, 91, 153)
HSLhsl(303, 26%, 48%)
HSVhsv(303, 42%, 61%)
CMYKcmyk(0%, 41.7%, 1.9%, 38.8%)
CIE-LABlab(48.07, 36.31, -22.73)
CIE-LCHlch(48.07, 42.84, 327.96°)
OKLaboklab(56.7% 0.1016 -0.0619)
OKLCHoklch(56.7% 0.119 328.7)
XYZxyz(23.2008, 16.8511, 32.1613)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5B99 #5B9C5E
analogous
#7E5B9C #9C5B99 #9C5B78
triadic
#9C5B99 #999C5B #5B999C
tetradic
#9C5B99 #9C7E5B #5B9C5E #5B789C
square
#9C5B99 #9C7E5B #5B9C5E #5B789C
split-complementary
#9C5B99 #789C5B #5B9C7E
monochromatic
#4F2E4D #754473 #9C5B99 #B580B2 #CBA6C9

Accessibility & contrast

On white

4.81
#9C5B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9C5B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C5B99
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5B99#FFFFFF#000000##FFFFFF
##9C5B991.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576D9B
Deuteranopia (green-blind)
#687597
Tritanopia (blue-blind)
#A06173
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c5b99;
/* rgb */ color: rgb(156, 91, 153);
/* oklch */ color: oklch(56.7% 0.119 328.7);
Tailwind
colors: {
  custom: {
    50: '#ba8bb7',
    500: '#9c5b99',
    950: '#000000',
  },
}
SCSS
$custom: #9c5b99;
$custom-light: #ba8bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5b99",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 153
  },
  "hsl": {
    "h": 302.769,
    "s": 26.316,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.11894,
    "h": 328.7
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#9C5B99
secondary
#9AB99B
accent
#C36965
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120C11
muted
#817D80

Preview Lab

Preview with #9C5B99

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

Preview Lab → · Contrast checker → · Palette generator →

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