Hex Color #B056A5 - Custom Color
Color Codes
HEX
#B056A5
RGB
rgb(176, 86, 165)
HSL
hsl(307, 36%, 51%)
CMYK
cmyk(0%, 51%, 6%, 31%)
HSV
hsv(307, 51%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.45:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.72: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: #B056A5;
color: #B056A5;
border-color: #B056A5;
}
Tailwind CSS (with arbitrary values)
bg-[#B056A5]
text-[#B056A5]
border-[#B056A5]
// Example usage:
<div className="bg-[#B056A5]">