#C28EF2 Color

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

Color preview

#C28EF2

Color formats

HEX
#C28EF2
RGB
rgb(194, 142, 242)
RGBA
rgba(194, 142, 242, 1)
HSL
hsl(271, 79%, 75%)
HSV
hsv(271, 41%, 95%)
CMYK
cmyk(20%, 41%, 0%, 5%)
CSS variable
--color-primary: #C28EF2;
Lowercase HEX
#c28ef2

Shades

Tints

Tones

Harmony

CSS snippets for #C28EF2

.color-c28ef2 {
  color: #C28EF2;
  background-color: #C28EF2;
}

Frequently asked questions

What color is #C28EF2?+

#C28EF2 is a HEX color with RGB value rgb(194, 142, 242) and HSL value hsl(271, 79%, 75%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #C28EF2?+

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