#AF7DF1 Color

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

Color preview

#AF7DF1

Color formats

HEX
#AF7DF1
RGB
rgb(175, 125, 241)
RGBA
rgba(175, 125, 241, 1)
HSL
hsl(266, 81%, 72%)
HSV
hsv(266, 48%, 95%)
CMYK
cmyk(27%, 48%, 0%, 5%)
CSS variable
--color-primary: #AF7DF1;
Lowercase HEX
#af7df1

Shades

Tints

Tones

Harmony

CSS snippets for #AF7DF1

.color-af7df1 {
  color: #AF7DF1;
  background-color: #AF7DF1;
}

Frequently asked questions

What color is #AF7DF1?+

#AF7DF1 is a HEX color with RGB value rgb(175, 125, 241) and HSL value hsl(266, 81%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7DF1?+

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