#AF7EC4 Color

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

Color preview

#AF7EC4

Color formats

HEX
#AF7EC4
RGB
rgb(175, 126, 196)
RGBA
rgba(175, 126, 196, 1)
HSL
hsl(282, 37%, 63%)
HSV
hsv(282, 36%, 77%)
CMYK
cmyk(11%, 36%, 0%, 23%)
CSS variable
--color-primary: #AF7EC4;
Lowercase HEX
#af7ec4

Shades

Tints

Tones

Harmony

CSS snippets for #AF7EC4

.color-af7ec4 {
  color: #AF7EC4;
  background-color: #AF7EC4;
}

Frequently asked questions

What color is #AF7EC4?+

#AF7EC4 is a HEX color with RGB value rgb(175, 126, 196) and HSL value hsl(282, 37%, 63%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7EC4?+

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