#B28BF5 Color

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

Color preview

#B28BF5

Color formats

HEX
#B28BF5
RGB
rgb(178, 139, 245)
RGBA
rgba(178, 139, 245, 1)
HSL
hsl(262, 84%, 75%)
HSV
hsv(262, 43%, 96%)
CMYK
cmyk(27%, 43%, 0%, 4%)
CSS variable
--color-primary: #B28BF5;
Lowercase HEX
#b28bf5

Shades

Tints

Tones

Harmony

CSS snippets for #B28BF5

.color-b28bf5 {
  color: #B28BF5;
  background-color: #B28BF5;
}

Frequently asked questions

What color is #B28BF5?+

#B28BF5 is a HEX color with RGB value rgb(178, 139, 245) and HSL value hsl(262, 84%, 75%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28BF5?+

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