Hex Color #A303BA - Custom Color
Color Codes
HEX
#A303BA
RGB
rgb(163, 3, 186)
HSL
hsl(292, 97%, 37%)
CMYK
cmyk(12%, 98%, 0%, 27%)
HSV
hsv(292, 98%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.40:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.28: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: #A303BA;
color: #A303BA;
border-color: #A303BA;
}
Tailwind CSS (with arbitrary values)
bg-[#A303BA]
text-[#A303BA]
border-[#A303BA]
// Example usage:
<div className="bg-[#A303BA]">