#A252FD Color

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

Color preview

#A252FD

Color formats

HEX
#A252FD
RGB
rgb(162, 82, 253)
RGBA
rgba(162, 82, 253, 1)
HSL
hsl(268, 98%, 66%)
HSV
hsv(268, 68%, 99%)
CMYK
cmyk(36%, 68%, 0%, 1%)
CSS variable
--color-primary: #A252FD;
Lowercase HEX
#a252fd

Shades

Tints

Tones

Harmony

CSS snippets for #A252FD

.color-a252fd {
  color: #A252FD;
  background-color: #A252FD;
}

Frequently asked questions

What color is #A252FD?+

#A252FD is a HEX color with RGB value rgb(162, 82, 253) and HSL value hsl(268, 98%, 66%). Its closest CSS named color is MediumSlateBlue.

What is the closest Tailwind color to #A252FD?+

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