#DC7AFC Color

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

Color preview

#DC7AFC

Color formats

HEX
#DC7AFC
RGB
rgb(220, 122, 252)
RGBA
rgba(220, 122, 252, 1)
HSL
hsl(285, 96%, 73%)
HSV
hsv(285, 52%, 99%)
CMYK
cmyk(13%, 52%, 0%, 1%)
CSS variable
--color-primary: #DC7AFC;
Lowercase HEX
#dc7afc

Shades

Tints

Tones

Harmony

CSS snippets for #DC7AFC

.color-dc7afc {
  color: #DC7AFC;
  background-color: #DC7AFC;
}

Frequently asked questions

What color is #DC7AFC?+

#DC7AFC is a HEX color with RGB value rgb(220, 122, 252) and HSL value hsl(285, 96%, 73%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #DC7AFC?+

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