Hex Color #BD28FE - Custom Color
Color Codes
HEX
#BD28FE
RGB
rgb(189, 40, 254)
HSL
hsl(282, 99%, 58%)
CMYK
cmyk(26%, 84%, 0%, 0%)
HSV
hsv(282, 84%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.29:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.90: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: #BD28FE;
color: #BD28FE;
border-color: #BD28FE;
}
Tailwind CSS (with arbitrary values)
bg-[#BD28FE]
text-[#BD28FE]
border-[#BD28FE]
// Example usage:
<div className="bg-[#BD28FE]">