#AF5EF2 Color

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

Color preview

#AF5EF2

Color formats

HEX
#AF5EF2
RGB
rgb(175, 94, 242)
RGBA
rgba(175, 94, 242, 1)
HSL
hsl(273, 85%, 66%)
HSV
hsv(273, 61%, 95%)
CMYK
cmyk(28%, 61%, 0%, 5%)
CSS variable
--color-primary: #AF5EF2;
Lowercase HEX
#af5ef2

Shades

Tints

Tones

Harmony

CSS snippets for #AF5EF2

.color-af5ef2 {
  color: #AF5EF2;
  background-color: #AF5EF2;
}

Frequently asked questions

What color is #AF5EF2?+

#AF5EF2 is a HEX color with RGB value rgb(175, 94, 242) and HSL value hsl(273, 85%, 66%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF5EF2?+

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