Hex Color #A66CFD - Custom Color
Color Codes
HEX
#A66CFD
RGB
rgb(166, 108, 253)
HSL
hsl(264, 97%, 71%)
CMYK
cmyk(34%, 57%, 0%, 1%)
HSV
hsv(264, 57%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.40:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.18: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: #A66CFD;
color: #A66CFD;
border-color: #A66CFD;
}
Tailwind CSS (with arbitrary values)
bg-[#A66CFD]
text-[#A66CFD]
border-[#A66CFD]
// Example usage:
<div className="bg-[#A66CFD]">