#C28CEB Color

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

Color preview

#C28CEB

Color formats

HEX
#C28CEB
RGB
rgb(194, 140, 235)
RGBA
rgba(194, 140, 235, 1)
HSL
hsl(274, 70%, 74%)
HSV
hsv(274, 40%, 92%)
CMYK
cmyk(17%, 40%, 0%, 8%)
CSS variable
--color-primary: #C28CEB;
Lowercase HEX
#c28ceb

Shades

Tints

Tones

Harmony

CSS snippets for #C28CEB

.color-c28ceb {
  color: #C28CEB;
  background-color: #C28CEB;
}

Frequently asked questions

What color is #C28CEB?+

#C28CEB is a HEX color with RGB value rgb(194, 140, 235) and HSL value hsl(274, 70%, 74%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #C28CEB?+

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