#B28DEB Color

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

Color preview

#B28DEB

Color formats

HEX
#B28DEB
RGB
rgb(178, 141, 235)
RGBA
rgba(178, 141, 235, 1)
HSL
hsl(264, 70%, 74%)
HSV
hsv(264, 40%, 92%)
CMYK
cmyk(24%, 40%, 0%, 8%)
CSS variable
--color-primary: #B28DEB;
Lowercase HEX
#b28deb

Shades

Tints

Tones

Harmony

CSS snippets for #B28DEB

.color-b28deb {
  color: #B28DEB;
  background-color: #B28DEB;
}

Frequently asked questions

What color is #B28DEB?+

#B28DEB is a HEX color with RGB value rgb(178, 141, 235) and HSL value hsl(264, 70%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28DEB?+

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