#AF7EC6 Color

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

Color preview

#AF7EC6

Color formats

HEX
#AF7EC6
RGB
rgb(175, 126, 198)
RGBA
rgba(175, 126, 198, 1)
HSL
hsl(281, 39%, 64%)
HSV
hsv(281, 36%, 78%)
CMYK
cmyk(12%, 36%, 0%, 22%)
CSS variable
--color-primary: #AF7EC6;
Lowercase HEX
#af7ec6

Shades

Tints

Tones

Harmony

CSS snippets for #AF7EC6

.color-af7ec6 {
  color: #AF7EC6;
  background-color: #AF7EC6;
}

Frequently asked questions

What color is #AF7EC6?+

#AF7EC6 is a HEX color with RGB value rgb(175, 126, 198) and HSL value hsl(281, 39%, 64%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7EC6?+

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