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