#D897FE Color

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

Color preview

#D897FE

Color formats

HEX
#D897FE
RGB
rgb(216, 151, 254)
RGBA
rgba(216, 151, 254, 1)
HSL
hsl(278, 98%, 79%)
HSV
hsv(278, 41%, 100%)
CMYK
cmyk(15%, 41%, 0%, 0%)
CSS variable
--color-primary: #D897FE;
Lowercase HEX
#d897fe

Shades

Tints

Tones

Harmony

CSS snippets for #D897FE

.color-d897fe {
  color: #D897FE;
  background-color: #D897FE;
}

Frequently asked questions

What color is #D897FE?+

#D897FE is a HEX color with RGB value rgb(216, 151, 254) and HSL value hsl(278, 98%, 79%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D897FE?+

The closest Tailwind color is purple-300, available as the bg-purple-300 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