Hex Color #AA38FF - Custom Color
Color Codes
HEX
#AA38FF
RGB
rgb(170, 56, 255)
HSL
hsl(274, 100%, 61%)
CMYK
cmyk(33%, 78%, 0%, 0%)
HSV
hsv(274, 78%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.45:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.72: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: #AA38FF;
color: #AA38FF;
border-color: #AA38FF;
}
Tailwind CSS (with arbitrary values)
bg-[#AA38FF]
text-[#AA38FF]
border-[#AA38FF]
// Example usage:
<div className="bg-[#AA38FF]">