#9166C2 Color

Inspect #9166C2 across formats, palettes, contrast and closest named color matches.

Color preview

#9166C2

Color formats

HEX
#9166C2
RGB
rgb(145, 102, 194)
RGBA
rgba(145, 102, 194, 1)
HSL
hsl(268, 43%, 58%)
HSV
hsv(268, 47%, 76%)
CMYK
cmyk(25%, 47%, 0%, 24%)
CSS variable
--color-primary: #9166C2;
Lowercase HEX
#9166c2

Shades

Tints

Tones

Harmony

CSS snippets for #9166C2

.color-9166c2 {
  color: #9166C2;
  background-color: #9166C2;
}

Frequently asked questions

What color is #9166C2?+

#9166C2 is a HEX color with RGB value rgb(145, 102, 194) and HSL value hsl(268, 43%, 58%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9166C2?+

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