Hex Color #C758BA - Custom Color
Color Codes
HEX
#C758BA
RGB
rgb(199, 88, 186)
HSL
hsl(307, 50%, 56%)
CMYK
cmyk(0%, 56%, 7%, 22%)
HSV
hsv(307, 56%, 78%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.80:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.53: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: #C758BA;
color: #C758BA;
border-color: #C758BA;
}
Tailwind CSS (with arbitrary values)
bg-[#C758BA]
text-[#C758BA]
border-[#C758BA]
// Example usage:
<div className="bg-[#C758BA]">