#B162A7 Color

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

Color preview

#B162A7

Color formats

HEX
#B162A7
RGB
rgb(177, 98, 167)
RGBA
rgba(177, 98, 167, 1)
HSL
hsl(308, 34%, 54%)
HSV
hsv(308, 45%, 69%)
CMYK
cmyk(0%, 45%, 6%, 31%)
CSS variable
--color-primary: #B162A7;
Lowercase HEX
#b162a7

Shades

Tints

Tones

Harmony

CSS snippets for #B162A7

.color-b162a7 {
  color: #B162A7;
  background-color: #B162A7;
}

Frequently asked questions

What color is #B162A7?+

#B162A7 is a HEX color with RGB value rgb(177, 98, 167) and HSL value hsl(308, 34%, 54%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #B162A7?+

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