#C128DC Color

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

Color preview

#C128DC

Color formats

HEX
#C128DC
RGB
rgb(193, 40, 220)
RGBA
rgba(193, 40, 220, 1)
HSL
hsl(291, 72%, 51%)
HSV
hsv(291, 82%, 86%)
CMYK
cmyk(12%, 82%, 0%, 14%)
CSS variable
--color-primary: #C128DC;
Lowercase HEX
#c128dc

Shades

Tints

Tones

Harmony

CSS snippets for #C128DC

.color-c128dc {
  color: #C128DC;
  background-color: #C128DC;
}

Frequently asked questions

What color is #C128DC?+

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

What is the closest Tailwind color to #C128DC?+

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