#B28CD5 Color

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

Color preview

#B28CD5

Color formats

HEX
#B28CD5
RGB
rgb(178, 140, 213)
RGBA
rgba(178, 140, 213, 1)
HSL
hsl(271, 46%, 69%)
HSV
hsv(271, 34%, 84%)
CMYK
cmyk(16%, 34%, 0%, 16%)
CSS variable
--color-primary: #B28CD5;
Lowercase HEX
#b28cd5

Shades

Tints

Tones

Harmony

CSS snippets for #B28CD5

.color-b28cd5 {
  color: #B28CD5;
  background-color: #B28CD5;
}

Frequently asked questions

What color is #B28CD5?+

#B28CD5 is a HEX color with RGB value rgb(178, 140, 213) and HSL value hsl(271, 46%, 69%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28CD5?+

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