Hex Color #A400BC - Custom Color
Color Codes
HEX
#A400BC
RGB
rgb(164, 0, 188)
HSL
hsl(292, 100%, 37%)
CMYK
cmyk(13%, 100%, 0%, 26%)
HSV
hsv(292, 100%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.35:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.30:1
Fail - 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: #A400BC;
color: #A400BC;
border-color: #A400BC;
}
Tailwind CSS (with arbitrary values)
bg-[#A400BC]
text-[#A400BC]
border-[#A400BC]
// Example usage:
<div className="bg-[#A400BC]">