Hex Color #B3397A - Custom Color
Color Codes
HEX
#B3397A
RGB
rgb(179, 57, 122)
HSL
hsl(328, 52%, 46%)
CMYK
cmyk(0%, 68%, 32%, 30%)
HSV
hsv(328, 68%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.55:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.78:1
Fail - 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: #B3397A;
color: #B3397A;
border-color: #B3397A;
}
Tailwind CSS (with arbitrary values)
bg-[#B3397A]
text-[#B3397A]
border-[#B3397A]
// Example usage:
<div className="bg-[#B3397A]">