#B28ECD Color

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

Color preview

#B28ECD

Color formats

HEX
#B28ECD
RGB
rgb(178, 142, 205)
RGBA
rgba(178, 142, 205, 1)
HSL
hsl(274, 39%, 68%)
HSV
hsv(274, 31%, 80%)
CMYK
cmyk(13%, 31%, 0%, 20%)
CSS variable
--color-primary: #B28ECD;
Lowercase HEX
#b28ecd

Shades

Tints

Tones

Harmony

CSS snippets for #B28ECD

.color-b28ecd {
  color: #B28ECD;
  background-color: #B28ECD;
}

Frequently asked questions

What color is #B28ECD?+

#B28ECD is a HEX color with RGB value rgb(178, 142, 205) and HSL value hsl(274, 39%, 68%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28ECD?+

The closest Tailwind color is slate-400, available as the bg-slate-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