Hex Color #BA6CBF - Custom Color
Color Codes
HEX
#BA6CBF
RGB
rgb(186, 108, 191)
HSL
hsl(296, 39%, 59%)
CMYK
cmyk(3%, 43%, 0%, 25%)
HSV
hsv(296, 43%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.51:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.99: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: #BA6CBF;
color: #BA6CBF;
border-color: #BA6CBF;
}
Tailwind CSS (with arbitrary values)
bg-[#BA6CBF]
text-[#BA6CBF]
border-[#BA6CBF]
// Example usage:
<div className="bg-[#BA6CBF]">