Hex Color #C871DD - Custom Color
Color Codes
HEX
#C871DD
RGB
rgb(200, 113, 221)
HSL
hsl(288, 61%, 65%)
CMYK
cmyk(10%, 49%, 0%, 13%)
HSV
hsv(288, 49%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.06:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.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: #C871DD;
color: #C871DD;
border-color: #C871DD;
}
Tailwind CSS (with arbitrary values)
bg-[#C871DD]
text-[#C871DD]
border-[#C871DD]
// Example usage:
<div className="bg-[#C871DD]">