#662ED6 Color

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

Color preview

#662ED6

Color formats

HEX
#662ED6
RGB
rgb(102, 46, 214)
RGBA
rgba(102, 46, 214, 1)
HSL
hsl(260, 67%, 51%)
HSV
hsv(260, 79%, 84%)
CMYK
cmyk(52%, 79%, 0%, 16%)
CSS variable
--color-primary: #662ED6;
Lowercase HEX
#662ed6

Shades

Tints

Tones

Harmony

CSS snippets for #662ED6

.color-662ed6 {
  color: #662ED6;
  background-color: #662ED6;
}

Frequently asked questions

What color is #662ED6?+

#662ED6 is a HEX color with RGB value rgb(102, 46, 214) and HSL value hsl(260, 67%, 51%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #662ED6?+

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