#D298E2 Color

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

Color preview

#D298E2

Color formats

HEX
#D298E2
RGB
rgb(210, 152, 226)
RGBA
rgba(210, 152, 226, 1)
HSL
hsl(287, 56%, 74%)
HSV
hsv(287, 33%, 89%)
CMYK
cmyk(7%, 33%, 0%, 11%)
CSS variable
--color-primary: #D298E2;
Lowercase HEX
#d298e2

Shades

Tints

Tones

Harmony

CSS snippets for #D298E2

.color-d298e2 {
  color: #D298E2;
  background-color: #D298E2;
}

Frequently asked questions

What color is #D298E2?+

#D298E2 is a HEX color with RGB value rgb(210, 152, 226) and HSL value hsl(287, 56%, 74%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #D298E2?+

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