#B291DB Color

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

Color preview

#B291DB

Color formats

HEX
#B291DB
RGB
rgb(178, 145, 219)
RGBA
rgba(178, 145, 219, 1)
HSL
hsl(267, 51%, 71%)
HSV
hsv(267, 34%, 86%)
CMYK
cmyk(19%, 34%, 0%, 14%)
CSS variable
--color-primary: #B291DB;
Lowercase HEX
#b291db

Shades

Tints

Tones

Harmony

CSS snippets for #B291DB

.color-b291db {
  color: #B291DB;
  background-color: #B291DB;
}

Frequently asked questions

What color is #B291DB?+

#B291DB is a HEX color with RGB value rgb(178, 145, 219) and HSL value hsl(267, 51%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B291DB?+

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