#C798DD Color

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

Color preview

#C798DD

Color formats

HEX
#C798DD
RGB
rgb(199, 152, 221)
RGBA
rgba(199, 152, 221, 1)
HSL
hsl(281, 50%, 73%)
HSV
hsv(281, 31%, 87%)
CMYK
cmyk(10%, 31%, 0%, 13%)
CSS variable
--color-primary: #C798DD;
Lowercase HEX
#c798dd

Shades

Tints

Tones

Harmony

CSS snippets for #C798DD

.color-c798dd {
  color: #C798DD;
  background-color: #C798DD;
}

Frequently asked questions

What color is #C798DD?+

#C798DD is a HEX color with RGB value rgb(199, 152, 221) and HSL value hsl(281, 50%, 73%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #C798DD?+

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