Hex Color #7124DA - Custom Color
Color Codes
HEX
#7124DA
RGB
rgb(113, 36, 218)
HSL
hsl(265, 72%, 50%)
CMYK
cmyk(48%, 83%, 0%, 15%)
HSV
hsv(265, 83%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.08:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.97: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: #7124DA;
color: #7124DA;
border-color: #7124DA;
}
Tailwind CSS (with arbitrary values)
bg-[#7124DA]
text-[#7124DA]
border-[#7124DA]
// Example usage:
<div className="bg-[#7124DA]">