#AF7DCF Color

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

Color preview

#AF7DCF

Color formats

HEX
#AF7DCF
RGB
rgb(175, 125, 207)
RGBA
rgba(175, 125, 207, 1)
HSL
hsl(277, 46%, 65%)
HSV
hsv(277, 40%, 81%)
CMYK
cmyk(15%, 40%, 0%, 19%)
CSS variable
--color-primary: #AF7DCF;
Lowercase HEX
#af7dcf

Shades

Tints

Tones

Harmony

CSS snippets for #AF7DCF

.color-af7dcf {
  color: #AF7DCF;
  background-color: #AF7DCF;
}

Frequently asked questions

What color is #AF7DCF?+

#AF7DCF is a HEX color with RGB value rgb(175, 125, 207) and HSL value hsl(277, 46%, 65%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7DCF?+

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