#B28BDF Color

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

Color preview

#B28BDF

Color formats

HEX
#B28BDF
RGB
rgb(178, 139, 223)
RGBA
rgba(178, 139, 223, 1)
HSL
hsl(268, 57%, 71%)
HSV
hsv(268, 38%, 87%)
CMYK
cmyk(20%, 38%, 0%, 13%)
CSS variable
--color-primary: #B28BDF;
Lowercase HEX
#b28bdf

Shades

Tints

Tones

Harmony

CSS snippets for #B28BDF

.color-b28bdf {
  color: #B28BDF;
  background-color: #B28BDF;
}

Frequently asked questions

What color is #B28BDF?+

#B28BDF is a HEX color with RGB value rgb(178, 139, 223) and HSL value hsl(268, 57%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28BDF?+

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