Hex Color #F157EE - Custom Color
Color Codes
HEX
#F157EE
RGB
rgb(241, 87, 238)
HSL
hsl(301, 85%, 64%)
CMYK
cmyk(0%, 64%, 1%, 5%)
HSV
hsv(301, 64%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.86:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.34: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: #F157EE;
color: #F157EE;
border-color: #F157EE;
}
Tailwind CSS (with arbitrary values)
bg-[#F157EE]
text-[#F157EE]
border-[#F157EE]
// Example usage:
<div className="bg-[#F157EE]">