#A270F2 Color

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

Color preview

#A270F2

Color formats

HEX
#A270F2
RGB
rgb(162, 112, 242)
RGBA
rgba(162, 112, 242, 1)
HSL
hsl(263, 83%, 69%)
HSV
hsv(263, 54%, 95%)
CMYK
cmyk(33%, 54%, 0%, 5%)
CSS variable
--color-primary: #A270F2;
Lowercase HEX
#a270f2

Shades

Tints

Tones

Harmony

CSS snippets for #A270F2

.color-a270f2 {
  color: #A270F2;
  background-color: #A270F2;
}

Frequently asked questions

What color is #A270F2?+

#A270F2 is a HEX color with RGB value rgb(162, 112, 242) and HSL value hsl(263, 83%, 69%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A270F2?+

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