Hex Color #CF5CFD - Custom Color
Color Codes
HEX
#CF5CFD
RGB
rgb(207, 92, 253)
HSL
hsl(283, 98%, 68%)
CMYK
cmyk(18%, 64%, 0%, 1%)
HSV
hsv(283, 64%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.18:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.60: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: #CF5CFD;
color: #CF5CFD;
border-color: #CF5CFD;
}
Tailwind CSS (with arbitrary values)
bg-[#CF5CFD]
text-[#CF5CFD]
border-[#CF5CFD]
// Example usage:
<div className="bg-[#CF5CFD]">