#9157A2 Color

Inspect #9157A2 across formats, palettes, contrast and closest named color matches.

Color preview

#9157A2

Color formats

HEX
#9157A2
RGB
rgb(145, 87, 162)
RGBA
rgba(145, 87, 162, 1)
HSL
hsl(286, 30%, 49%)
HSV
hsv(286, 46%, 64%)
CMYK
cmyk(10%, 46%, 0%, 36%)
CSS variable
--color-primary: #9157A2;
Lowercase HEX
#9157a2

Shades

Tints

Tones

Harmony

CSS snippets for #9157A2

.color-9157a2 {
  color: #9157A2;
  background-color: #9157A2;
}

Frequently asked questions

What color is #9157A2?+

#9157A2 is a HEX color with RGB value rgb(145, 87, 162) and HSL value hsl(286, 30%, 49%). Its closest CSS named color is SlateGray.

What is the closest Tailwind color to #9157A2?+

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