#8A5B9F Color

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

Color preview

#8A5B9F

Color formats

HEX
#8A5B9F
RGB
rgb(138, 91, 159)
RGBA
rgba(138, 91, 159, 1)
HSL
hsl(281, 27%, 49%)
HSV
hsv(281, 43%, 62%)
CMYK
cmyk(13%, 43%, 0%, 38%)
CSS variable
--color-primary: #8A5B9F;
Lowercase HEX
#8a5b9f

Shades

Tints

Tones

Harmony

CSS snippets for #8A5B9F

.color-8a5b9f {
  color: #8A5B9F;
  background-color: #8A5B9F;
}

Frequently asked questions

What color is #8A5B9F?+

#8A5B9F is a HEX color with RGB value rgb(138, 91, 159) and HSL value hsl(281, 27%, 49%). Its closest CSS named color is SlateGray.

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

The closest Tailwind color is gray-500, available as the bg-gray-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