Hex Color #BC22EB - Custom Color
Color Codes
HEX
#BC22EB
RGB
rgb(188, 34, 235)
HSL
hsl(286, 83%, 53%)
CMYK
cmyk(20%, 86%, 0%, 8%)
HSV
hsv(286, 86%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.60:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.57: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: #BC22EB;
color: #BC22EB;
border-color: #BC22EB;
}
Tailwind CSS (with arbitrary values)
bg-[#BC22EB]
text-[#BC22EB]
border-[#BC22EB]
// Example usage:
<div className="bg-[#BC22EB]">