Hex Color #A640EF - Custom Color
Color Codes
HEX
#A640EF
RGB
rgb(166, 64, 239)
HSL
hsl(275, 85%, 59%)
CMYK
cmyk(31%, 73%, 0%, 6%)
HSV
hsv(275, 73%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.60: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: #A640EF;
color: #A640EF;
border-color: #A640EF;
}
Tailwind CSS (with arbitrary values)
bg-[#A640EF]
text-[#A640EF]
border-[#A640EF]
// Example usage:
<div className="bg-[#A640EF]">