#AF7EC8 Color

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

Color preview

#AF7EC8

Color formats

HEX
#AF7EC8
RGB
rgb(175, 126, 200)
RGBA
rgba(175, 126, 200, 1)
HSL
hsl(280, 40%, 64%)
HSV
hsv(280, 37%, 78%)
CMYK
cmyk(12%, 37%, 0%, 22%)
CSS variable
--color-primary: #AF7EC8;
Lowercase HEX
#af7ec8

Shades

Tints

Tones

Harmony

CSS snippets for #AF7EC8

.color-af7ec8 {
  color: #AF7EC8;
  background-color: #AF7EC8;
}

Frequently asked questions

What color is #AF7EC8?+

#AF7EC8 is a HEX color with RGB value rgb(175, 126, 200) and HSL value hsl(280, 40%, 64%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7EC8?+

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