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