Hex Color #B22FDD - Custom Color
Color Codes
HEX
#B22FDD
RGB
rgb(178, 47, 221)
HSL
hsl(285, 72%, 53%)
CMYK
cmyk(19%, 79%, 0%, 13%)
HSV
hsv(285, 79%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.83:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.34: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: #B22FDD;
color: #B22FDD;
border-color: #B22FDD;
}
Tailwind CSS (with arbitrary values)
bg-[#B22FDD]
text-[#B22FDD]
border-[#B22FDD]
// Example usage:
<div className="bg-[#B22FDD]">