#C798D2 Color

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

Color preview

#C798D2

Color formats

HEX
#C798D2
RGB
rgb(199, 152, 210)
RGBA
rgba(199, 152, 210, 1)
HSL
hsl(289, 39%, 71%)
HSV
hsv(289, 28%, 82%)
CMYK
cmyk(5%, 28%, 0%, 18%)
CSS variable
--color-primary: #C798D2;
Lowercase HEX
#c798d2

Shades

Tints

Tones

Harmony

CSS snippets for #C798D2

.color-c798d2 {
  color: #C798D2;
  background-color: #C798D2;
}

Frequently asked questions

What color is #C798D2?+

#C798D2 is a HEX color with RGB value rgb(199, 152, 210) and HSL value hsl(289, 39%, 71%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #C798D2?+

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