#B228FD Color

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

Color preview

#B228FD

Color formats

HEX
#B228FD
RGB
rgb(178, 40, 253)
RGBA
rgba(178, 40, 253, 1)
HSL
hsl(279, 98%, 57%)
HSV
hsv(279, 84%, 99%)
CMYK
cmyk(30%, 84%, 0%, 1%)
CSS variable
--color-primary: #B228FD;
Lowercase HEX
#b228fd

Shades

Tints

Tones

Harmony

CSS snippets for #B228FD

.color-b228fd {
  color: #B228FD;
  background-color: #B228FD;
}

Frequently asked questions

What color is #B228FD?+

#B228FD is a HEX color with RGB value rgb(178, 40, 253) and HSL value hsl(279, 98%, 57%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #B228FD?+

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