#B28CE4 Color

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

Color preview

#B28CE4

Color formats

HEX
#B28CE4
RGB
rgb(178, 140, 228)
RGBA
rgba(178, 140, 228, 1)
HSL
hsl(266, 62%, 72%)
HSV
hsv(266, 39%, 89%)
CMYK
cmyk(22%, 39%, 0%, 11%)
CSS variable
--color-primary: #B28CE4;
Lowercase HEX
#b28ce4

Shades

Tints

Tones

Harmony

CSS snippets for #B28CE4

.color-b28ce4 {
  color: #B28CE4;
  background-color: #B28CE4;
}

Frequently asked questions

What color is #B28CE4?+

#B28CE4 is a HEX color with RGB value rgb(178, 140, 228) and HSL value hsl(266, 62%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28CE4?+

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