#8A5B8A Color

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

Color preview

#8A5B8A

Color formats

HEX
#8A5B8A
RGB
rgb(138, 91, 138)
RGBA
rgba(138, 91, 138, 1)
HSL
hsl(300, 21%, 45%)
HSV
hsv(300, 34%, 54%)
CMYK
cmyk(0%, 34%, 0%, 46%)
CSS variable
--color-primary: #8A5B8A;
Lowercase HEX
#8a5b8a

Shades

Tints

Tones

Harmony

CSS snippets for #8A5B8A

.color-8a5b8a {
  color: #8A5B8A;
  background-color: #8A5B8A;
}

Frequently asked questions

What color is #8A5B8A?+

#8A5B8A is a HEX color with RGB value rgb(138, 91, 138) and HSL value hsl(300, 21%, 45%). Its closest CSS named color is Gray.

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

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