Hex Color #BA11FA - Custom Color
Color Codes
HEX
#BA11FA
RGB
rgb(186, 17, 250)
HSL
hsl(284, 96%, 52%)
CMYK
cmyk(26%, 93%, 0%, 2%)
HSV
hsv(284, 93%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.62:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.55: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: #BA11FA;
color: #BA11FA;
border-color: #BA11FA;
}
Tailwind CSS (with arbitrary values)
bg-[#BA11FA]
text-[#BA11FA]
border-[#BA11FA]
// Example usage:
<div className="bg-[#BA11FA]">