Hex Color #7146CE - Custom Color
Color Codes
HEX
#7146CE
RGB
rgb(113, 70, 206)
HSL
hsl(259, 58%, 54%)
CMYK
cmyk(45%, 66%, 0%, 19%)
HSV
hsv(259, 66%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.05:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.47: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: #7146CE;
color: #7146CE;
border-color: #7146CE;
}
Tailwind CSS (with arbitrary values)
bg-[#7146CE]
text-[#7146CE]
border-[#7146CE]
// Example usage:
<div className="bg-[#7146CE]">