#C798D5 Color

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

Color preview

#C798D5

Color formats

HEX
#C798D5
RGB
rgb(199, 152, 213)
RGBA
rgba(199, 152, 213, 1)
HSL
hsl(286, 42%, 72%)
HSV
hsv(286, 29%, 84%)
CMYK
cmyk(7%, 29%, 0%, 16%)
CSS variable
--color-primary: #C798D5;
Lowercase HEX
#c798d5

Shades

Tints

Tones

Harmony

CSS snippets for #C798D5

.color-c798d5 {
  color: #C798D5;
  background-color: #C798D5;
}

Frequently asked questions

What color is #C798D5?+

#C798D5 is a HEX color with RGB value rgb(199, 152, 213) and HSL value hsl(286, 42%, 72%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #C798D5?+

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