#9C579C#9C579C

#9C579C is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.2% C 0.129 H 327.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9C579C
RGBrgb(156, 87, 156)
HSLhsl(300, 28%, 48%)
HSVhsv(300, 44%, 61%)
CMYKcmyk(0%, 44.2%, 0%, 38.8%)
CIE-LABlab(47.35, 39.07, -25.63)
CIE-LCHlch(47.35, 46.72, 326.74°)
OKLaboklab(56.21% 0.1084 -0.0701)
OKLCHoklch(56.21% 0.129 327.1)
XYZxyz(23.1188, 16.2857, 33.3718)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C579C #579C57
analogous
#79579C #9C579C #9C5779
triadic
#9C579C #9C9C57 #579C9C
tetradic
#9C579C #9C7957 #579C57 #57799C
square
#9C579C #9C7957 #579C57 #57799C
split-complementary
#9C579C #799C57 #579C79
monochromatic
#4D2B4D #754175 #9C579C #B57BB5 #CBA2CB

Accessibility & contrast

On white

4.93
#9C579C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9C579C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C579C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C579C#FFFFFF#000000##FFFFFF
##9C579C1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516B9E
Deuteranopia (green-blind)
#64739A
Tritanopia (blue-blind)
#A05E72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c579c;
/* rgb */ color: rgb(156, 87, 156);
/* oklch */ color: oklch(56.2% 0.129 327.1);
Tailwind
colors: {
  custom: {
    50: '#bb88b9',
    500: '#9c579c',
    950: '#000000',
  },
}
SCSS
$custom: #9c579c;
$custom-light: #bb88b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c579c",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 300,
    "s": 28.395,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.12907,
    "h": 327.1
  },
  "luminance": 0.16285
}

Semantic roles & 50–950 ramp

primary
#9C579C
secondary
#96B996
accent
#C56363
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120C11
muted
#817D80

Preview Lab

Preview with #9C579C

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

Preview Lab → · Contrast checker → · Palette generator →

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