#A542DB Color

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

Color preview

#A542DB

Color formats

HEX
#A542DB
RGB
rgb(165, 66, 219)
RGBA
rgba(165, 66, 219, 1)
HSL
hsl(279, 68%, 56%)
HSV
hsv(279, 70%, 86%)
CMYK
cmyk(25%, 70%, 0%, 14%)
CSS variable
--color-primary: #A542DB;
Lowercase HEX
#a542db

Shades

Tints

Tones

Harmony

CSS snippets for #A542DB

.color-a542db {
  color: #A542DB;
  background-color: #A542DB;
}

Frequently asked questions

What color is #A542DB?+

#A542DB is a HEX color with RGB value rgb(165, 66, 219) and HSL value hsl(279, 68%, 56%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #A542DB?+

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