Hex Color #AD4EAF - Custom Color
Color Codes
HEX
#AD4EAF
RGB
rgb(173, 78, 175)
HSL
hsl(299, 38%, 50%)
CMYK
cmyk(1%, 55%, 0%, 31%)
HSV
hsv(299, 55%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.68:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.49:1
Fail - 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: #AD4EAF;
color: #AD4EAF;
border-color: #AD4EAF;
}
Tailwind CSS (with arbitrary values)
bg-[#AD4EAF]
text-[#AD4EAF]
border-[#AD4EAF]
// Example usage:
<div className="bg-[#AD4EAF]">