#A228D2 Color

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

Color preview

#A228D2

Color formats

HEX
#A228D2
RGB
rgb(162, 40, 210)
RGBA
rgba(162, 40, 210, 1)
HSL
hsl(283, 68%, 49%)
HSV
hsv(283, 81%, 82%)
CMYK
cmyk(23%, 81%, 0%, 18%)
CSS variable
--color-primary: #A228D2;
Lowercase HEX
#a228d2

Shades

Tints

Tones

Harmony

CSS snippets for #A228D2

.color-a228d2 {
  color: #A228D2;
  background-color: #A228D2;
}

Frequently asked questions

What color is #A228D2?+

#A228D2 is a HEX color with RGB value rgb(162, 40, 210) and HSL value hsl(283, 68%, 49%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #A228D2?+

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