Hex Color #CD71F9 - Custom Color
Color Codes
HEX
#CD71F9
RGB
rgb(205, 113, 249)
HSL
hsl(281, 92%, 71%)
CMYK
cmyk(18%, 55%, 0%, 2%)
HSV
hsv(281, 55%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.87:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.33:1
Pass - WCAG AA (Normal Text)
Pass - 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: #CD71F9;
color: #CD71F9;
border-color: #CD71F9;
}
Tailwind CSS (with arbitrary values)
bg-[#CD71F9]
text-[#CD71F9]
border-[#CD71F9]
// Example usage:
<div className="bg-[#CD71F9]">