#B228DC Color

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

Color preview

#B228DC

Color formats

HEX
#B228DC
RGB
rgb(178, 40, 220)
RGBA
rgba(178, 40, 220, 1)
HSL
hsl(286, 72%, 51%)
HSV
hsv(286, 82%, 86%)
CMYK
cmyk(19%, 82%, 0%, 14%)
CSS variable
--color-primary: #B228DC;
Lowercase HEX
#b228dc

Shades

Tints

Tones

Harmony

CSS snippets for #B228DC

.color-b228dc {
  color: #B228DC;
  background-color: #B228DC;
}

Frequently asked questions

What color is #B228DC?+

#B228DC is a HEX color with RGB value rgb(178, 40, 220) and HSL value hsl(286, 72%, 51%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #B228DC?+

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