#B166EB Color

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

Color preview

#B166EB

Color formats

HEX
#B166EB
RGB
rgb(177, 102, 235)
RGBA
rgba(177, 102, 235, 1)
HSL
hsl(274, 77%, 66%)
HSV
hsv(274, 57%, 92%)
CMYK
cmyk(25%, 57%, 0%, 8%)
CSS variable
--color-primary: #B166EB;
Lowercase HEX
#b166eb

Shades

Tints

Tones

Harmony

CSS snippets for #B166EB

.color-b166eb {
  color: #B166EB;
  background-color: #B166EB;
}

Frequently asked questions

What color is #B166EB?+

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

What is the closest Tailwind color to #B166EB?+

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