#AF7ECD Color

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

Color preview

#AF7ECD

Color formats

HEX
#AF7ECD
RGB
rgb(175, 126, 205)
RGBA
rgba(175, 126, 205, 1)
HSL
hsl(277, 44%, 65%)
HSV
hsv(277, 39%, 80%)
CMYK
cmyk(15%, 39%, 0%, 20%)
CSS variable
--color-primary: #AF7ECD;
Lowercase HEX
#af7ecd

Shades

Tints

Tones

Harmony

CSS snippets for #AF7ECD

.color-af7ecd {
  color: #AF7ECD;
  background-color: #AF7ECD;
}

Frequently asked questions

What color is #AF7ECD?+

#AF7ECD is a HEX color with RGB value rgb(175, 126, 205) and HSL value hsl(277, 44%, 65%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7ECD?+

The closest Tailwind color is violet-400, available as the bg-violet-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