#9A5B98 Color

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

Color preview

#9A5B98

Color formats

HEX
#9A5B98
RGB
rgb(154, 91, 152)
RGBA
rgba(154, 91, 152, 1)
HSL
hsl(302, 26%, 48%)
HSV
hsv(302, 41%, 60%)
CMYK
cmyk(0%, 41%, 1%, 40%)
CSS variable
--color-primary: #9A5B98;
Lowercase HEX
#9a5b98

Shades

Tints

Tones

Harmony

CSS snippets for #9A5B98

.color-9a5b98 {
  color: #9A5B98;
  background-color: #9A5B98;
}

Frequently asked questions

What color is #9A5B98?+

#9A5B98 is a HEX color with RGB value rgb(154, 91, 152) and HSL value hsl(302, 26%, 48%). Its closest CSS named color is Gray.

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

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