Hex Color #A309EF - Custom Color
Color Codes
HEX
#A309EF
RGB
rgb(163, 9, 239)
HSL
hsl(280, 93%, 49%)
CMYK
cmyk(32%, 96%, 0%, 6%)
HSV
hsv(280, 96%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.46:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.84: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: #A309EF;
color: #A309EF;
border-color: #A309EF;
}
Tailwind CSS (with arbitrary values)
bg-[#A309EF]
text-[#A309EF]
border-[#A309EF]
// Example usage:
<div className="bg-[#A309EF]">