#B28CDD Color

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

Color preview

#B28CDD

Color formats

HEX
#B28CDD
RGB
rgb(178, 140, 221)
RGBA
rgba(178, 140, 221, 1)
HSL
hsl(268, 54%, 71%)
HSV
hsv(268, 37%, 87%)
CMYK
cmyk(19%, 37%, 0%, 13%)
CSS variable
--color-primary: #B28CDD;
Lowercase HEX
#b28cdd

Shades

Tints

Tones

Harmony

CSS snippets for #B28CDD

.color-b28cdd {
  color: #B28CDD;
  background-color: #B28CDD;
}

Frequently asked questions

What color is #B28CDD?+

#B28CDD is a HEX color with RGB value rgb(178, 140, 221) and HSL value hsl(268, 54%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28CDD?+

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