#B28EF5 Color

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

Color preview

#B28EF5

Color formats

HEX
#B28EF5
RGB
rgb(178, 142, 245)
RGBA
rgba(178, 142, 245, 1)
HSL
hsl(261, 84%, 76%)
HSV
hsv(261, 42%, 96%)
CMYK
cmyk(27%, 42%, 0%, 4%)
CSS variable
--color-primary: #B28EF5;
Lowercase HEX
#b28ef5

Shades

Tints

Tones

Harmony

CSS snippets for #B28EF5

.color-b28ef5 {
  color: #B28EF5;
  background-color: #B28EF5;
}

Frequently asked questions

What color is #B28EF5?+

#B28EF5 is a HEX color with RGB value rgb(178, 142, 245) and HSL value hsl(261, 84%, 76%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28EF5?+

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