#CC28E1 Color

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

Color preview

#CC28E1

Color formats

HEX
#CC28E1
RGB
rgb(204, 40, 225)
RGBA
rgba(204, 40, 225, 1)
HSL
hsl(293, 76%, 52%)
HSV
hsv(293, 82%, 88%)
CMYK
cmyk(9%, 82%, 0%, 12%)
CSS variable
--color-primary: #CC28E1;
Lowercase HEX
#cc28e1

Shades

Tints

Tones

Harmony

CSS snippets for #CC28E1

.color-cc28e1 {
  color: #CC28E1;
  background-color: #CC28E1;
}

Frequently asked questions

What color is #CC28E1?+

#CC28E1 is a HEX color with RGB value rgb(204, 40, 225) and HSL value hsl(293, 76%, 52%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #CC28E1?+

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