Hex Color #CA45BA - Custom Color
Color Codes
HEX
#CA45BA
RGB
rgb(202, 69, 186)
HSL
hsl(307, 56%, 53%)
CMYK
cmyk(0%, 66%, 8%, 21%)
HSV
hsv(307, 66%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.14:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.07: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: #CA45BA;
color: #CA45BA;
border-color: #CA45BA;
}
Tailwind CSS (with arbitrary values)
bg-[#CA45BA]
text-[#CA45BA]
border-[#CA45BA]
// Example usage:
<div className="bg-[#CA45BA]">