Hex Color #BA53DC - Custom Color
Color Codes
HEX
#BA53DC
RGB
rgb(186, 83, 220)
HSL
hsl(285, 66%, 59%)
CMYK
cmyk(15%, 62%, 0%, 14%)
HSV
hsv(285, 62%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.92:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.36: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: #BA53DC;
color: #BA53DC;
border-color: #BA53DC;
}
Tailwind CSS (with arbitrary values)
bg-[#BA53DC]
text-[#BA53DC]
border-[#BA53DC]
// Example usage:
<div className="bg-[#BA53DC]">