#AF7CDE Color

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

Color preview

#AF7CDE

Color formats

HEX
#AF7CDE
RGB
rgb(175, 124, 222)
RGBA
rgba(175, 124, 222, 1)
HSL
hsl(271, 60%, 68%)
HSV
hsv(271, 44%, 87%)
CMYK
cmyk(21%, 44%, 0%, 13%)
CSS variable
--color-primary: #AF7CDE;
Lowercase HEX
#af7cde

Shades

Tints

Tones

Harmony

CSS snippets for #AF7CDE

.color-af7cde {
  color: #AF7CDE;
  background-color: #AF7CDE;
}

Frequently asked questions

What color is #AF7CDE?+

#AF7CDE is a HEX color with RGB value rgb(175, 124, 222) and HSL value hsl(271, 60%, 68%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7CDE?+

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