Hex Color #BA4CAC - Custom Color
Color Codes
HEX
#BA4CAC
RGB
rgb(186, 76, 172)
HSL
hsl(308, 44%, 51%)
CMYK
cmyk(0%, 59%, 8%, 27%)
HSV
hsv(308, 59%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.45:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.72: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: #BA4CAC;
color: #BA4CAC;
border-color: #BA4CAC;
}
Tailwind CSS (with arbitrary values)
bg-[#BA4CAC]
text-[#BA4CAC]
border-[#BA4CAC]
// Example usage:
<div className="bg-[#BA4CAC]">