Hex Color #B745BF - Custom Color
Color Codes
HEX
#B745BF
RGB
rgb(183, 69, 191)
HSL
hsl(296, 49%, 51%)
CMYK
cmyk(4%, 64%, 0%, 25%)
HSV
hsv(296, 64%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.55:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.62: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: #B745BF;
color: #B745BF;
border-color: #B745BF;
}
Tailwind CSS (with arbitrary values)
bg-[#B745BF]
text-[#B745BF]
border-[#B745BF]
// Example usage:
<div className="bg-[#B745BF]">