#B28CF8 Color

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

Color preview

#B28CF8

Color formats

HEX
#B28CF8
RGB
rgb(178, 140, 248)
RGBA
rgba(178, 140, 248, 1)
HSL
hsl(261, 89%, 76%)
HSV
hsv(261, 44%, 97%)
CMYK
cmyk(28%, 44%, 0%, 3%)
CSS variable
--color-primary: #B28CF8;
Lowercase HEX
#b28cf8

Shades

Tints

Tones

Harmony

CSS snippets for #B28CF8

.color-b28cf8 {
  color: #B28CF8;
  background-color: #B28CF8;
}

Frequently asked questions

What color is #B28CF8?+

#B28CF8 is a HEX color with RGB value rgb(178, 140, 248) and HSL value hsl(261, 89%, 76%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28CF8?+

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