Hex Color #B373AD - Custom Color
Color Codes
HEX
#B373AD
RGB
rgb(179, 115, 173)
HSL
hsl(306, 30%, 58%)
CMYK
cmyk(0%, 36%, 3%, 30%)
HSV
hsv(306, 36%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.52:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.97: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: #B373AD;
color: #B373AD;
border-color: #B373AD;
}
Tailwind CSS (with arbitrary values)
bg-[#B373AD]
text-[#B373AD]
border-[#B373AD]
// Example usage:
<div className="bg-[#B373AD]">