Hex Color #AB3CFC - Custom Color
Color Codes
HEX
#AB3CFC
RGB
rgb(171, 60, 252)
HSL
hsl(275, 97%, 61%)
CMYK
cmyk(32%, 76%, 0%, 1%)
HSV
hsv(275, 76%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.39:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.78: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: #AB3CFC;
color: #AB3CFC;
border-color: #AB3CFC;
}
Tailwind CSS (with arbitrary values)
bg-[#AB3CFC]
text-[#AB3CFC]
border-[#AB3CFC]
// Example usage:
<div className="bg-[#AB3CFC]">