#9A5C8E Color

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

Color preview

#9A5C8E

Color formats

HEX
#9A5C8E
RGB
rgb(154, 92, 142)
RGBA
rgba(154, 92, 142, 1)
HSL
hsl(312, 25%, 48%)
HSV
hsv(312, 40%, 60%)
CMYK
cmyk(0%, 40%, 8%, 40%)
CSS variable
--color-primary: #9A5C8E;
Lowercase HEX
#9a5c8e

Shades

Tints

Tones

Harmony

CSS snippets for #9A5C8E

.color-9a5c8e {
  color: #9A5C8E;
  background-color: #9A5C8E;
}

Frequently asked questions

What color is #9A5C8E?+

#9A5C8E is a HEX color with RGB value rgb(154, 92, 142) and HSL value hsl(312, 25%, 48%). Its closest CSS named color is Gray.

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

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