#B28CCF Color

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

Color preview

#B28CCF

Color formats

HEX
#B28CCF
RGB
rgb(178, 140, 207)
RGBA
rgba(178, 140, 207, 1)
HSL
hsl(274, 41%, 68%)
HSV
hsv(274, 32%, 81%)
CMYK
cmyk(14%, 32%, 0%, 19%)
CSS variable
--color-primary: #B28CCF;
Lowercase HEX
#b28ccf

Shades

Tints

Tones

Harmony

CSS snippets for #B28CCF

.color-b28ccf {
  color: #B28CCF;
  background-color: #B28CCF;
}

Frequently asked questions

What color is #B28CCF?+

#B28CCF is a HEX color with RGB value rgb(178, 140, 207) and HSL value hsl(274, 41%, 68%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28CCF?+

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