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