#9D5798 Color

Inspect #9D5798 across formats, palettes, contrast and closest named color matches.

Color preview

#9D5798

Color formats

HEX
#9D5798
RGB
rgb(157, 87, 152)
RGBA
rgba(157, 87, 152, 1)
HSL
hsl(304, 29%, 48%)
HSV
hsv(304, 45%, 62%)
CMYK
cmyk(0%, 45%, 3%, 38%)
CSS variable
--color-primary: #9D5798;
Lowercase HEX
#9d5798

Shades

Tints

Tones

Harmony

CSS snippets for #9D5798

.color-9d5798 {
  color: #9D5798;
  background-color: #9D5798;
}

Frequently asked questions

What color is #9D5798?+

#9D5798 is a HEX color with RGB value rgb(157, 87, 152) and HSL value hsl(304, 29%, 48%). Its closest CSS named color is Gray.

What is the closest Tailwind color to #9D5798?+

The closest Tailwind color is zinc-500, available as the bg-zinc-500 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools