#D28DFE Color

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

Color preview

#D28DFE

Color formats

HEX
#D28DFE
RGB
rgb(210, 141, 254)
RGBA
rgba(210, 141, 254, 1)
HSL
hsl(277, 98%, 77%)
HSV
hsv(277, 44%, 100%)
CMYK
cmyk(17%, 44%, 0%, 0%)
CSS variable
--color-primary: #D28DFE;
Lowercase HEX
#d28dfe

Shades

Tints

Tones

Harmony

CSS snippets for #D28DFE

.color-d28dfe {
  color: #D28DFE;
  background-color: #D28DFE;
}

Frequently asked questions

What color is #D28DFE?+

#D28DFE is a HEX color with RGB value rgb(210, 141, 254) and HSL value hsl(277, 98%, 77%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D28DFE?+

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