Hex Color #CA18EC - Custom Color
Color Codes
HEX
#CA18EC
RGB
rgb(202, 24, 236)
HSL
hsl(290, 85%, 51%)
CMYK
cmyk(14%, 90%, 0%, 7%)
HSV
hsv(290, 90%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.33:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.85: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: #CA18EC;
color: #CA18EC;
border-color: #CA18EC;
}
Tailwind CSS (with arbitrary values)
bg-[#CA18EC]
text-[#CA18EC]
border-[#CA18EC]
// Example usage:
<div className="bg-[#CA18EC]">