Hex Color #BF4CAC - Custom Color
Color Codes
HEX
#BF4CAC
RGB
rgb(191, 76, 172)
HSL
hsl(310, 47%, 52%)
CMYK
cmyk(0%, 60%, 10%, 25%)
HSV
hsv(310, 60%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.33:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.84: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: #BF4CAC;
color: #BF4CAC;
border-color: #BF4CAC;
}
Tailwind CSS (with arbitrary values)
bg-[#BF4CAC]
text-[#BF4CAC]
border-[#BF4CAC]
// Example usage:
<div className="bg-[#BF4CAC]">