#DC7EFB Color

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

Color preview

#DC7EFB

Color formats

HEX
#DC7EFB
RGB
rgb(220, 126, 251)
RGBA
rgba(220, 126, 251, 1)
HSL
hsl(285, 94%, 74%)
HSV
hsv(285, 50%, 98%)
CMYK
cmyk(12%, 50%, 0%, 2%)
CSS variable
--color-primary: #DC7EFB;
Lowercase HEX
#dc7efb

Shades

Tints

Tones

Harmony

CSS snippets for #DC7EFB

.color-dc7efb {
  color: #DC7EFB;
  background-color: #DC7EFB;
}

Frequently asked questions

What color is #DC7EFB?+

#DC7EFB is a HEX color with RGB value rgb(220, 126, 251) and HSL value hsl(285, 94%, 74%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #DC7EFB?+

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