Hex Color #ECC6FA - Custom Color
Color Codes
HEX
#ECC6FA
RGB
rgb(236, 198, 250)
HSL
hsl(284, 84%, 88%)
CMYK
cmyk(6%, 21%, 0%, 2%)
HSV
hsv(284, 21%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.50:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.02:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #ECC6FA;
color: #ECC6FA;
border-color: #ECC6FA;
}
Tailwind CSS (with arbitrary values)
bg-[#ECC6FA]
text-[#ECC6FA]
border-[#ECC6FA]
// Example usage:
<div className="bg-[#ECC6FA]">