#C798FD Color

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

Color preview

#C798FD

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #C798FD

.color-c798fd {
  color: #C798FD;
  background-color: #C798FD;
}

Frequently asked questions

What color is #C798FD?+

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

What is the closest Tailwind color to #C798FD?+

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