#AF7FF2 Color

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

Color preview

#AF7FF2

Color formats

HEX
#AF7FF2
RGB
rgb(175, 127, 242)
RGBA
rgba(175, 127, 242, 1)
HSL
hsl(265, 82%, 72%)
HSV
hsv(265, 48%, 95%)
CMYK
cmyk(28%, 48%, 0%, 5%)
CSS variable
--color-primary: #AF7FF2;
Lowercase HEX
#af7ff2

Shades

Tints

Tones

Harmony

CSS snippets for #AF7FF2

.color-af7ff2 {
  color: #AF7FF2;
  background-color: #AF7FF2;
}

Frequently asked questions

What color is #AF7FF2?+

#AF7FF2 is a HEX color with RGB value rgb(175, 127, 242) and HSL value hsl(265, 82%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7FF2?+

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