Hex Color #A135CA - Custom Color
Color Codes
HEX
#A135CA
RGB
rgb(161, 53, 202)
HSL
hsl(283, 58%, 50%)
CMYK
cmyk(20%, 74%, 0%, 21%)
HSV
hsv(283, 74%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.42:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.88: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: #A135CA;
color: #A135CA;
border-color: #A135CA;
}
Tailwind CSS (with arbitrary values)
bg-[#A135CA]
text-[#A135CA]
border-[#A135CA]
// Example usage:
<div className="bg-[#A135CA]">