#D97FF2 Color

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

Color preview

#D97FF2

Color formats

HEX
#D97FF2
RGB
rgb(217, 127, 242)
RGBA
rgba(217, 127, 242, 1)
HSL
hsl(287, 82%, 72%)
HSV
hsv(287, 48%, 95%)
CMYK
cmyk(10%, 48%, 0%, 5%)
CSS variable
--color-primary: #D97FF2;
Lowercase HEX
#d97ff2

Shades

Tints

Tones

Harmony

CSS snippets for #D97FF2

.color-d97ff2 {
  color: #D97FF2;
  background-color: #D97FF2;
}

Frequently asked questions

What color is #D97FF2?+

#D97FF2 is a HEX color with RGB value rgb(217, 127, 242) and HSL value hsl(287, 82%, 72%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D97FF2?+

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