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