Hex Color #B562AC - Custom Color
Color Codes
HEX
#B562AC
RGB
rgb(181, 98, 172)
HSL
hsl(307, 36%, 55%)
CMYK
cmyk(0%, 46%, 5%, 29%)
HSV
hsv(307, 46%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.96:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.31: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: #B562AC;
color: #B562AC;
border-color: #B562AC;
}
Tailwind CSS (with arbitrary values)
bg-[#B562AC]
text-[#B562AC]
border-[#B562AC]
// Example usage:
<div className="bg-[#B562AC]">