#B28DDC Color

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

Color preview

#B28DDC

Color formats

HEX
#B28DDC
RGB
rgb(178, 141, 220)
RGBA
rgba(178, 141, 220, 1)
HSL
hsl(268, 53%, 71%)
HSV
hsv(268, 36%, 86%)
CMYK
cmyk(19%, 36%, 0%, 14%)
CSS variable
--color-primary: #B28DDC;
Lowercase HEX
#b28ddc

Shades

Tints

Tones

Harmony

CSS snippets for #B28DDC

.color-b28ddc {
  color: #B28DDC;
  background-color: #B28DDC;
}

Frequently asked questions

What color is #B28DDC?+

#B28DDC is a HEX color with RGB value rgb(178, 141, 220) and HSL value hsl(268, 53%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28DDC?+

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