Hex Color #BD5BFB - Custom Color
Color Codes
HEX
#BD5BFB
RGB
rgb(189, 91, 251)
HSL
hsl(277, 95%, 67%)
CMYK
cmyk(25%, 64%, 0%, 2%)
HSV
hsv(277, 64%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.47:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.05: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: #BD5BFB;
color: #BD5BFB;
border-color: #BD5BFB;
}
Tailwind CSS (with arbitrary values)
bg-[#BD5BFB]
text-[#BD5BFB]
border-[#BD5BFB]
// Example usage:
<div className="bg-[#BD5BFB]">