#CC28EC Color

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

Color preview

#CC28EC

Color formats

HEX
#CC28EC
RGB
rgb(204, 40, 236)
RGBA
rgba(204, 40, 236, 1)
HSL
hsl(290, 84%, 54%)
HSV
hsv(290, 83%, 93%)
CMYK
cmyk(14%, 83%, 0%, 7%)
CSS variable
--color-primary: #CC28EC;
Lowercase HEX
#cc28ec

Shades

Tints

Tones

Harmony

CSS snippets for #CC28EC

.color-cc28ec {
  color: #CC28EC;
  background-color: #CC28EC;
}

Frequently asked questions

What color is #CC28EC?+

#CC28EC is a HEX color with RGB value rgb(204, 40, 236) and HSL value hsl(290, 84%, 54%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #CC28EC?+

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