Hex Color #AD499D - Custom Color
Color Codes
HEX
#AD499D
RGB
rgb(173, 73, 157)
HSL
hsl(310, 41%, 48%)
CMYK
cmyk(0%, 58%, 9%, 32%)
HSV
hsv(310, 58%, 68%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.98:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.22: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: #AD499D;
color: #AD499D;
border-color: #AD499D;
}
Tailwind CSS (with arbitrary values)
bg-[#AD499D]
text-[#AD499D]
border-[#AD499D]
// Example usage:
<div className="bg-[#AD499D]">