Hex Color #BF17D7 - Custom Color
Color Codes
HEX
#BF17D7
RGB
rgb(191, 23, 215)
HSL
hsl(293, 81%, 47%)
CMYK
cmyk(11%, 89%, 0%, 16%)
HSV
hsv(293, 89%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.86:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.32: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: #BF17D7;
color: #BF17D7;
border-color: #BF17D7;
}
Tailwind CSS (with arbitrary values)
bg-[#BF17D7]
text-[#BF17D7]
border-[#BF17D7]
// Example usage:
<div className="bg-[#BF17D7]">