Hex Color #A148EF - Custom Color
Color Codes
HEX
#A148EF
RGB
rgb(161, 72, 239)
HSL
hsl(272, 84%, 61%)
CMYK
cmyk(33%, 70%, 0%, 6%)
HSV
hsv(272, 70%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.48:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.69:1
Pass - 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: #A148EF;
color: #A148EF;
border-color: #A148EF;
}
Tailwind CSS (with arbitrary values)
bg-[#A148EF]
text-[#A148EF]
border-[#A148EF]
// Example usage:
<div className="bg-[#A148EF]">