Hex Color #CF57FE - Custom Color
Color Codes
HEX
#CF57FE
RGB
rgb(207, 87, 254)
HSL
hsl(283, 99%, 67%)
CMYK
cmyk(19%, 66%, 0%, 0%)
HSV
hsv(283, 66%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.26:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.45: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: #CF57FE;
color: #CF57FE;
border-color: #CF57FE;
}
Tailwind CSS (with arbitrary values)
bg-[#CF57FE]
text-[#CF57FE]
border-[#CF57FE]
// Example usage:
<div className="bg-[#CF57FE]">