Hex Color #F26CF4 - Custom Color
Color Codes
HEX
#F26CF4
RGB
rgb(242, 108, 244)
HSL
hsl(299, 86%, 69%)
CMYK
cmyk(1%, 56%, 0%, 4%)
HSV
hsv(299, 56%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.55:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.23: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: #F26CF4;
color: #F26CF4;
border-color: #F26CF4;
}
Tailwind CSS (with arbitrary values)
bg-[#F26CF4]
text-[#F26CF4]
border-[#F26CF4]
// Example usage:
<div className="bg-[#F26CF4]">