#B28FE1 Color

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

Color preview

#B28FE1

Color formats

HEX
#B28FE1
RGB
rgb(178, 143, 225)
RGBA
rgba(178, 143, 225, 1)
HSL
hsl(266, 58%, 72%)
HSV
hsv(266, 36%, 88%)
CMYK
cmyk(21%, 36%, 0%, 12%)
CSS variable
--color-primary: #B28FE1;
Lowercase HEX
#b28fe1

Shades

Tints

Tones

Harmony

CSS snippets for #B28FE1

.color-b28fe1 {
  color: #B28FE1;
  background-color: #B28FE1;
}

Frequently asked questions

What color is #B28FE1?+

#B28FE1 is a HEX color with RGB value rgb(178, 143, 225) and HSL value hsl(266, 58%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28FE1?+

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