Hex Color #C513DA - Custom Color
Color Codes
HEX
#C513DA
RGB
rgb(197, 19, 218)
HSL
hsl(294, 84%, 46%)
CMYK
cmyk(10%, 91%, 0%, 15%)
HSV
hsv(294, 91%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.69:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.48: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: #C513DA;
color: #C513DA;
border-color: #C513DA;
}
Tailwind CSS (with arbitrary values)
bg-[#C513DA]
text-[#C513DA]
border-[#C513DA]
// Example usage:
<div className="bg-[#C513DA]">