#C797FD Color

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

Color preview

#C797FD

Color formats

HEX
#C797FD
RGB
rgb(199, 151, 253)
RGBA
rgba(199, 151, 253, 1)
HSL
hsl(268, 96%, 79%)
HSV
hsv(268, 40%, 99%)
CMYK
cmyk(21%, 40%, 0%, 1%)
CSS variable
--color-primary: #C797FD;
Lowercase HEX
#c797fd

Shades

Tints

Tones

Harmony

CSS snippets for #C797FD

.color-c797fd {
  color: #C797FD;
  background-color: #C797FD;
}

Frequently asked questions

What color is #C797FD?+

#C797FD is a HEX color with RGB value rgb(199, 151, 253) and HSL value hsl(268, 96%, 79%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #C797FD?+

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