#C228E1 Color

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

Color preview

#C228E1

Color formats

HEX
#C228E1
RGB
rgb(194, 40, 225)
RGBA
rgba(194, 40, 225, 1)
HSL
hsl(290, 76%, 52%)
HSV
hsv(290, 82%, 88%)
CMYK
cmyk(14%, 82%, 0%, 12%)
CSS variable
--color-primary: #C228E1;
Lowercase HEX
#c228e1

Shades

Tints

Tones

Harmony

CSS snippets for #C228E1

.color-c228e1 {
  color: #C228E1;
  background-color: #C228E1;
}

Frequently asked questions

What color is #C228E1?+

#C228E1 is a HEX color with RGB value rgb(194, 40, 225) and HSL value hsl(290, 76%, 52%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #C228E1?+

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