#B166C8 Color

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

Color preview

#B166C8

Color formats

HEX
#B166C8
RGB
rgb(177, 102, 200)
RGBA
rgba(177, 102, 200, 1)
HSL
hsl(286, 47%, 59%)
HSV
hsv(286, 49%, 78%)
CMYK
cmyk(12%, 49%, 0%, 22%)
CSS variable
--color-primary: #B166C8;
Lowercase HEX
#b166c8

Shades

Tints

Tones

Harmony

CSS snippets for #B166C8

.color-b166c8 {
  color: #B166C8;
  background-color: #B166C8;
}

Frequently asked questions

What color is #B166C8?+

#B166C8 is a HEX color with RGB value rgb(177, 102, 200) and HSL value hsl(286, 47%, 59%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #B166C8?+

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