Hex Color #A23FAF - Custom Color
Color Codes
HEX
#A23FAF
RGB
rgb(162, 63, 175)
HSL
hsl(293, 47%, 47%)
CMYK
cmyk(7%, 64%, 0%, 31%)
HSV
hsv(293, 64%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.43:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.87: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: #A23FAF;
color: #A23FAF;
border-color: #A23FAF;
}
Tailwind CSS (with arbitrary values)
bg-[#A23FAF]
text-[#A23FAF]
border-[#A23FAF]
// Example usage:
<div className="bg-[#A23FAF]">