Hex Color #AC02C3 - Custom Color
Color Codes
HEX
#AC02C3
RGB
rgb(172, 2, 195)
HSL
hsl(293, 98%, 39%)
CMYK
cmyk(12%, 99%, 0%, 24%)
HSV
hsv(293, 99%, 76%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.91:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.55: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: #AC02C3;
color: #AC02C3;
border-color: #AC02C3;
}
Tailwind CSS (with arbitrary values)
bg-[#AC02C3]
text-[#AC02C3]
border-[#AC02C3]
// Example usage:
<div className="bg-[#AC02C3]">