Hex Color #B05FAC - Custom Color
Color Codes
HEX
#B05FAC
RGB
rgb(176, 95, 172)
HSL
hsl(303, 34%, 53%)
CMYK
cmyk(0%, 46%, 2%, 31%)
HSV
hsv(303, 46%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.13:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.08: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: #B05FAC;
color: #B05FAC;
border-color: #B05FAC;
}
Tailwind CSS (with arbitrary values)
bg-[#B05FAC]
text-[#B05FAC]
border-[#B05FAC]
// Example usage:
<div className="bg-[#B05FAC]">