#C798F9 Color

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

Color preview

#C798F9

Color formats

HEX
#C798F9
RGB
rgb(199, 152, 249)
RGBA
rgba(199, 152, 249, 1)
HSL
hsl(269, 89%, 79%)
HSV
hsv(269, 39%, 98%)
CMYK
cmyk(20%, 39%, 0%, 2%)
CSS variable
--color-primary: #C798F9;
Lowercase HEX
#c798f9

Shades

Tints

Tones

Harmony

CSS snippets for #C798F9

.color-c798f9 {
  color: #C798F9;
  background-color: #C798F9;
}

Frequently asked questions

What color is #C798F9?+

#C798F9 is a HEX color with RGB value rgb(199, 152, 249) and HSL value hsl(269, 89%, 79%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #C798F9?+

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