Hex Color #CB53AB - Custom Color
Color Codes
HEX
#CB53AB
RGB
rgb(203, 83, 171)
HSL
hsl(316, 54%, 56%)
CMYK
cmyk(0%, 59%, 16%, 20%)
HSV
hsv(316, 59%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.91:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.36: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: #CB53AB;
color: #CB53AB;
border-color: #CB53AB;
}
Tailwind CSS (with arbitrary values)
bg-[#CB53AB]
text-[#CB53AB]
border-[#CB53AB]
// Example usage:
<div className="bg-[#CB53AB]">