Hex Color #A138AE - Custom Color
Color Codes
HEX
#A138AE
RGB
rgb(161, 56, 174)
HSL
hsl(293, 51%, 45%)
CMYK
cmyk(7%, 68%, 0%, 32%)
HSV
hsv(293, 68%, 68%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.69:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.69: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: #A138AE;
color: #A138AE;
border-color: #A138AE;
}
Tailwind CSS (with arbitrary values)
bg-[#A138AE]
text-[#A138AE]
border-[#A138AE]
// Example usage:
<div className="bg-[#A138AE]">