#C798F8 Color

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

Color preview

#C798F8

Color formats

HEX
#C798F8
RGB
rgb(199, 152, 248)
RGBA
rgba(199, 152, 248, 1)
HSL
hsl(269, 87%, 78%)
HSV
hsv(269, 39%, 97%)
CMYK
cmyk(20%, 39%, 0%, 3%)
CSS variable
--color-primary: #C798F8;
Lowercase HEX
#c798f8

Shades

Tints

Tones

Harmony

CSS snippets for #C798F8

.color-c798f8 {
  color: #C798F8;
  background-color: #C798F8;
}

Frequently asked questions

What color is #C798F8?+

#C798F8 is a HEX color with RGB value rgb(199, 152, 248) and HSL value hsl(269, 87%, 78%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #C798F8?+

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