Hex Color #C652EF - Custom Color
Color Codes
HEX
#C652EF
RGB
rgb(198, 82, 239)
HSL
hsl(284, 83%, 63%)
CMYK
cmyk(17%, 66%, 0%, 6%)
HSV
hsv(284, 66%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.59:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.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: #C652EF;
color: #C652EF;
border-color: #C652EF;
}
Tailwind CSS (with arbitrary values)
bg-[#C652EF]
text-[#C652EF]
border-[#C652EF]
// Example usage:
<div className="bg-[#C652EF]">