Hex Color #762CBC - Custom Color
Color Codes
HEX
#762CBC
RGB
rgb(118, 44, 188)
HSL
hsl(271, 62%, 45%)
CMYK
cmyk(37%, 77%, 0%, 26%)
HSV
hsv(271, 77%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.35:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.86: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: #762CBC;
color: #762CBC;
border-color: #762CBC;
}
Tailwind CSS (with arbitrary values)
bg-[#762CBC]
text-[#762CBC]
border-[#762CBC]
// Example usage:
<div className="bg-[#762CBC]">