#C798E3 Color

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

Color preview

#C798E3

Color formats

HEX
#C798E3
RGB
rgb(199, 152, 227)
RGBA
rgba(199, 152, 227, 1)
HSL
hsl(278, 57%, 74%)
HSV
hsv(278, 33%, 89%)
CMYK
cmyk(12%, 33%, 0%, 11%)
CSS variable
--color-primary: #C798E3;
Lowercase HEX
#c798e3

Shades

Tints

Tones

Harmony

CSS snippets for #C798E3

.color-c798e3 {
  color: #C798E3;
  background-color: #C798E3;
}

Frequently asked questions

What color is #C798E3?+

#C798E3 is a HEX color with RGB value rgb(199, 152, 227) and HSL value hsl(278, 57%, 74%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #C798E3?+

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