#AF7DF4 Color

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

Color preview

#AF7DF4

Color formats

HEX
#AF7DF4
RGB
rgb(175, 125, 244)
RGBA
rgba(175, 125, 244, 1)
HSL
hsl(265, 84%, 72%)
HSV
hsv(265, 49%, 96%)
CMYK
cmyk(28%, 49%, 0%, 4%)
CSS variable
--color-primary: #AF7DF4;
Lowercase HEX
#af7df4

Shades

Tints

Tones

Harmony

CSS snippets for #AF7DF4

.color-af7df4 {
  color: #AF7DF4;
  background-color: #AF7DF4;
}

Frequently asked questions

What color is #AF7DF4?+

#AF7DF4 is a HEX color with RGB value rgb(175, 125, 244) and HSL value hsl(265, 84%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7DF4?+

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