Hex Color #B700EB - Custom Color
Color Codes
HEX
#B700EB
RGB
rgb(183, 0, 235)
HSL
hsl(287, 100%, 46%)
CMYK
cmyk(22%, 100%, 0%, 8%)
HSV
hsv(287, 100%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.98:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.21: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: #B700EB;
color: #B700EB;
border-color: #B700EB;
}
Tailwind CSS (with arbitrary values)
bg-[#B700EB]
text-[#B700EB]
border-[#B700EB]
// Example usage:
<div className="bg-[#B700EB]">