Hex Color #DE1BFA - Custom Color
Color Codes
HEX
#DE1BFA
RGB
rgb(222, 27, 250)
HSL
hsl(292, 96%, 54%)
CMYK
cmyk(11%, 89%, 0%, 2%)
HSV
hsv(292, 89%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.72:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.64: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: #DE1BFA;
color: #DE1BFA;
border-color: #DE1BFA;
}
Tailwind CSS (with arbitrary values)
bg-[#DE1BFA]
text-[#DE1BFA]
border-[#DE1BFA]
// Example usage:
<div className="bg-[#DE1BFA]">