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