Hex Color #BA19C5 - Custom Color
Color Codes
HEX
#BA19C5
RGB
rgb(186, 25, 197)
HSL
hsl(296, 77%, 44%)
CMYK
cmyk(6%, 87%, 0%, 23%)
HSV
hsv(296, 87%, 77%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.21:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.03: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: #BA19C5;
color: #BA19C5;
border-color: #BA19C5;
}
Tailwind CSS (with arbitrary values)
bg-[#BA19C5]
text-[#BA19C5]
border-[#BA19C5]
// Example usage:
<div className="bg-[#BA19C5]">