#8A5C98 Color

Inspect #8A5C98 across formats, palettes, contrast and closest named color matches.

Color preview

#8A5C98

Color formats

HEX
#8A5C98
RGB
rgb(138, 92, 152)
RGBA
rgba(138, 92, 152, 1)
HSL
hsl(286, 25%, 48%)
HSV
hsv(286, 39%, 60%)
CMYK
cmyk(9%, 39%, 0%, 40%)
CSS variable
--color-primary: #8A5C98;
Lowercase HEX
#8a5c98

Shades

Tints

Tones

Harmony

CSS snippets for #8A5C98

.color-8a5c98 {
  color: #8A5C98;
  background-color: #8A5C98;
}

Frequently asked questions

What color is #8A5C98?+

#8A5C98 is a HEX color with RGB value rgb(138, 92, 152) and HSL value hsl(286, 25%, 48%). Its closest CSS named color is Gray.

What is the closest Tailwind color to #8A5C98?+

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