Hex Color #C706DA - Custom Color
Color Codes
HEX
#C706DA
RGB
rgb(199, 6, 218)
HSL
hsl(295, 95%, 44%)
CMYK
cmyk(9%, 97%, 0%, 15%)
HSV
hsv(295, 97%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.70:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.47: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: #C706DA;
color: #C706DA;
border-color: #C706DA;
}
Tailwind CSS (with arbitrary values)
bg-[#C706DA]
text-[#C706DA]
border-[#C706DA]
// Example usage:
<div className="bg-[#C706DA]">