#AF4DFE Color

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

Color preview

#AF4DFE

Color formats

HEX
#AF4DFE
RGB
rgb(175, 77, 254)
RGBA
rgba(175, 77, 254, 1)
HSL
hsl(273, 99%, 65%)
HSV
hsv(273, 70%, 100%)
CMYK
cmyk(31%, 70%, 0%, 0%)
CSS variable
--color-primary: #AF4DFE;
Lowercase HEX
#af4dfe

Shades

Tints

Tones

Harmony

CSS snippets for #AF4DFE

.color-af4dfe {
  color: #AF4DFE;
  background-color: #AF4DFE;
}

Frequently asked questions

What color is #AF4DFE?+

#AF4DFE is a HEX color with RGB value rgb(175, 77, 254) and HSL value hsl(273, 99%, 65%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF4DFE?+

The closest Tailwind color is purple-500, available as the bg-purple-500 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