#AF7ECC Color

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

Color preview

#AF7ECC

Color formats

HEX
#AF7ECC
RGB
rgb(175, 126, 204)
RGBA
rgba(175, 126, 204, 1)
HSL
hsl(278, 43%, 65%)
HSV
hsv(278, 38%, 80%)
CMYK
cmyk(14%, 38%, 0%, 20%)
CSS variable
--color-primary: #AF7ECC;
Lowercase HEX
#af7ecc

Shades

Tints

Tones

Harmony

CSS snippets for #AF7ECC

.color-af7ecc {
  color: #AF7ECC;
  background-color: #AF7ECC;
}

Frequently asked questions

What color is #AF7ECC?+

#AF7ECC is a HEX color with RGB value rgb(175, 126, 204) and HSL value hsl(278, 43%, 65%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7ECC?+

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