#D97EF5 Color

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

Color preview

#D97EF5

Color formats

HEX
#D97EF5
RGB
rgb(217, 126, 245)
RGBA
rgba(217, 126, 245, 1)
HSL
hsl(286, 86%, 73%)
HSV
hsv(286, 49%, 96%)
CMYK
cmyk(11%, 49%, 0%, 4%)
CSS variable
--color-primary: #D97EF5;
Lowercase HEX
#d97ef5

Shades

Tints

Tones

Harmony

CSS snippets for #D97EF5

.color-d97ef5 {
  color: #D97EF5;
  background-color: #D97EF5;
}

Frequently asked questions

What color is #D97EF5?+

#D97EF5 is a HEX color with RGB value rgb(217, 126, 245) and HSL value hsl(286, 86%, 73%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D97EF5?+

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