Hex Color #ED9AFC - Custom Color
Color Codes
HEX
#ED9AFC
RGB
rgb(237, 154, 252)
HSL
hsl(291, 94%, 80%)
CMYK
cmyk(6%, 39%, 0%, 1%)
HSV
hsv(291, 39%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.98:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.63: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: #ED9AFC;
color: #ED9AFC;
border-color: #ED9AFC;
}
Tailwind CSS (with arbitrary values)
bg-[#ED9AFC]
text-[#ED9AFC]
border-[#ED9AFC]
// Example usage:
<div className="bg-[#ED9AFC]">