Hex Color #A646FF - Custom Color

Color Codes

HEX
#A646FF
RGB
rgb(166, 70, 255)
HSL
hsl(271, 100%, 64%)
CMYK
cmyk(35%, 73%, 0%, 0%)
HSV
hsv(271, 73%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 4.25:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 4.94:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #A646FF;
color: #A646FF;
border-color: #A646FF;
}

Tailwind CSS (with arbitrary values)

bg-[#A646FF]
text-[#A646FF]
border-[#A646FF]
// Example usage:
<div className="bg-[#A646FF]">