Hex Color #B956A5 - Custom Color
Color Codes
HEX
#B956A5
RGB
rgb(185, 86, 165)
HSL
hsl(312, 41%, 53%)
CMYK
cmyk(0%, 54%, 11%, 27%)
HSV
hsv(312, 54%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.25:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.94: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: #B956A5;
color: #B956A5;
border-color: #B956A5;
}
Tailwind CSS (with arbitrary values)
bg-[#B956A5]
text-[#B956A5]
border-[#B956A5]
// Example usage:
<div className="bg-[#B956A5]">