#B28CCA Color

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

Color preview

#B28CCA

Color formats

HEX
#B28CCA
RGB
rgb(178, 140, 202)
RGBA
rgba(178, 140, 202, 1)
HSL
hsl(277, 37%, 67%)
HSV
hsv(277, 31%, 79%)
CMYK
cmyk(12%, 31%, 0%, 21%)
CSS variable
--color-primary: #B28CCA;
Lowercase HEX
#b28cca

Shades

Tints

Tones

Harmony

CSS snippets for #B28CCA

.color-b28cca {
  color: #B28CCA;
  background-color: #B28CCA;
}

Frequently asked questions

What color is #B28CCA?+

#B28CCA is a HEX color with RGB value rgb(178, 140, 202) and HSL value hsl(277, 37%, 67%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #B28CCA?+

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