#B28CD1 Color

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

Color preview

#B28CD1

Color formats

HEX
#B28CD1
RGB
rgb(178, 140, 209)
RGBA
rgba(178, 140, 209, 1)
HSL
hsl(273, 43%, 68%)
HSV
hsv(273, 33%, 82%)
CMYK
cmyk(15%, 33%, 0%, 18%)
CSS variable
--color-primary: #B28CD1;
Lowercase HEX
#b28cd1

Shades

Tints

Tones

Harmony

CSS snippets for #B28CD1

.color-b28cd1 {
  color: #B28CD1;
  background-color: #B28CD1;
}

Frequently asked questions

What color is #B28CD1?+

#B28CD1 is a HEX color with RGB value rgb(178, 140, 209) and HSL value hsl(273, 43%, 68%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28CD1?+

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