Hex Color #BD4DEF - Custom Color
Color Codes
HEX
#BD4DEF
RGB
rgb(189, 77, 239)
HSL
hsl(281, 84%, 62%)
CMYK
cmyk(21%, 68%, 0%, 6%)
HSV
hsv(281, 68%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.84:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.47: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: #BD4DEF;
color: #BD4DEF;
border-color: #BD4DEF;
}
Tailwind CSS (with arbitrary values)
bg-[#BD4DEF]
text-[#BD4DEF]
border-[#BD4DEF]
// Example usage:
<div className="bg-[#BD4DEF]">