Hex Color #D47ABE - Custom Color
Color Codes
HEX
#D47ABE
RGB
rgb(212, 122, 190)
HSL
hsl(315, 51%, 65%)
CMYK
cmyk(0%, 42%, 10%, 17%)
HSV
hsv(315, 42%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.87:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.33: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: #D47ABE;
color: #D47ABE;
border-color: #D47ABE;
}
Tailwind CSS (with arbitrary values)
bg-[#D47ABE]
text-[#D47ABE]
border-[#D47ABE]
// Example usage:
<div className="bg-[#D47ABE]">