#B166EA Color

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

Color preview

#B166EA

Color formats

HEX
#B166EA
RGB
rgb(177, 102, 234)
RGBA
rgba(177, 102, 234, 1)
HSL
hsl(274, 76%, 66%)
HSV
hsv(274, 56%, 92%)
CMYK
cmyk(24%, 56%, 0%, 8%)
CSS variable
--color-primary: #B166EA;
Lowercase HEX
#b166ea

Shades

Tints

Tones

Harmony

CSS snippets for #B166EA

.color-b166ea {
  color: #B166EA;
  background-color: #B166EA;
}

Frequently asked questions

What color is #B166EA?+

#B166EA is a HEX color with RGB value rgb(177, 102, 234) and HSL value hsl(274, 76%, 66%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #B166EA?+

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