Hex Color #C557FA - Custom Color
Color Codes
HEX
#C557FA
RGB
rgb(197, 87, 250)
HSL
hsl(280, 94%, 66%)
CMYK
cmyk(21%, 65%, 0%, 2%)
HSV
hsv(280, 65%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.43:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.12: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: #C557FA;
color: #C557FA;
border-color: #C557FA;
}
Tailwind CSS (with arbitrary values)
bg-[#C557FA]
text-[#C557FA]
border-[#C557FA]
// Example usage:
<div className="bg-[#C557FA]">