#C798EC Color

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

Color preview

#C798EC

Color formats

HEX
#C798EC
RGB
rgb(199, 152, 236)
RGBA
rgba(199, 152, 236, 1)
HSL
hsl(274, 69%, 76%)
HSV
hsv(274, 36%, 93%)
CMYK
cmyk(16%, 36%, 0%, 7%)
CSS variable
--color-primary: #C798EC;
Lowercase HEX
#c798ec

Shades

Tints

Tones

Harmony

CSS snippets for #C798EC

.color-c798ec {
  color: #C798EC;
  background-color: #C798EC;
}

Frequently asked questions

What color is #C798EC?+

#C798EC is a HEX color with RGB value rgb(199, 152, 236) and HSL value hsl(274, 69%, 76%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #C798EC?+

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