Hex Color #C877CA - Custom Color
Color Codes
HEX
#C877CA
RGB
rgb(200, 119, 202)
HSL
hsl(299, 44%, 63%)
CMYK
cmyk(1%, 41%, 0%, 21%)
HSV
hsv(299, 41%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.02:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.95: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: #C877CA;
color: #C877CA;
border-color: #C877CA;
}
Tailwind CSS (with arbitrary values)
bg-[#C877CA]
text-[#C877CA]
border-[#C877CA]
// Example usage:
<div className="bg-[#C877CA]">