Hex Color #CB47DD - Custom Color
Color Codes
HEX
#CB47DD
RGB
rgb(203, 71, 221)
HSL
hsl(293, 69%, 57%)
CMYK
cmyk(8%, 68%, 0%, 13%)
HSV
hsv(293, 68%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.83:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.48: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: #CB47DD;
color: #CB47DD;
border-color: #CB47DD;
}
Tailwind CSS (with arbitrary values)
bg-[#CB47DD]
text-[#CB47DD]
border-[#CB47DD]
// Example usage:
<div className="bg-[#CB47DD]">