#D797FF Color

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

Color preview

#D797FF

Color formats

HEX
#D797FF
RGB
rgb(215, 151, 255)
RGBA
rgba(215, 151, 255, 1)
HSL
hsl(277, 100%, 80%)
HSV
hsv(277, 41%, 100%)
CMYK
cmyk(16%, 41%, 0%, 0%)
CSS variable
--color-primary: #D797FF;
Lowercase HEX
#d797ff

Shades

Tints

Tones

Harmony

CSS snippets for #D797FF

.color-d797ff {
  color: #D797FF;
  background-color: #D797FF;
}

Frequently asked questions

What color is #D797FF?+

#D797FF is a HEX color with RGB value rgb(215, 151, 255) and HSL value hsl(277, 100%, 80%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D797FF?+

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