#D796FF Color

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

Color preview

#D796FF

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D796FF

.color-d796ff {
  color: #D796FF;
  background-color: #D796FF;
}

Frequently asked questions

What color is #D796FF?+

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

What is the closest Tailwind color to #D796FF?+

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