Hex Color #CC70E2 - Custom Color
Color Codes
HEX
#CC70E2
RGB
rgb(204, 112, 226)
HSL
hsl(288, 66%, 66%)
CMYK
cmyk(10%, 50%, 0%, 11%)
HSV
hsv(288, 50%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.01:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.98: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: #CC70E2;
color: #CC70E2;
border-color: #CC70E2;
}
Tailwind CSS (with arbitrary values)
bg-[#CC70E2]
text-[#CC70E2]
border-[#CC70E2]
// Example usage:
<div className="bg-[#CC70E2]">