Hex Color #7515BB - Custom Color
Color Codes
HEX
#7515BB
RGB
rgb(117, 21, 187)
HSL
hsl(275, 80%, 41%)
CMYK
cmyk(37%, 89%, 0%, 27%)
HSV
hsv(275, 89%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 8.14:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.58: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: #7515BB;
color: #7515BB;
border-color: #7515BB;
}
Tailwind CSS (with arbitrary values)
bg-[#7515BB]
text-[#7515BB]
border-[#7515BB]
// Example usage:
<div className="bg-[#7515BB]">