Hex Color #BD46AB - Custom Color
Color Codes
HEX
#BD46AB
RGB
rgb(189, 70, 171)
HSL
hsl(309, 47%, 51%)
CMYK
cmyk(0%, 63%, 10%, 26%)
HSV
hsv(309, 63%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.54:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.63:1
Pass - 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: #BD46AB;
color: #BD46AB;
border-color: #BD46AB;
}
Tailwind CSS (with arbitrary values)
bg-[#BD46AB]
text-[#BD46AB]
border-[#BD46AB]
// Example usage:
<div className="bg-[#BD46AB]">