#AF7EC2 Color

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

Color preview

#AF7EC2

Color formats

HEX
#AF7EC2
RGB
rgb(175, 126, 194)
RGBA
rgba(175, 126, 194, 1)
HSL
hsl(283, 36%, 63%)
HSV
hsv(283, 35%, 76%)
CMYK
cmyk(10%, 35%, 0%, 24%)
CSS variable
--color-primary: #AF7EC2;
Lowercase HEX
#af7ec2

Shades

Tints

Tones

Harmony

CSS snippets for #AF7EC2

.color-af7ec2 {
  color: #AF7EC2;
  background-color: #AF7EC2;
}

Frequently asked questions

What color is #AF7EC2?+

#AF7EC2 is a HEX color with RGB value rgb(175, 126, 194) and HSL value hsl(283, 36%, 63%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7EC2?+

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