Hex Color #C342C0 - Custom Color
Color Codes
HEX
#C342C0
RGB
rgb(195, 66, 192)
HSL
hsl(301, 52%, 51%)
CMYK
cmyk(0%, 66%, 2%, 24%)
HSV
hsv(301, 66%, 76%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.32:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.86: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: #C342C0;
color: #C342C0;
border-color: #C342C0;
}
Tailwind CSS (with arbitrary values)
bg-[#C342C0]
text-[#C342C0]
border-[#C342C0]
// Example usage:
<div className="bg-[#C342C0]">