Hex Color #C0ACEF - Custom Color
Color Codes
HEX
#C0ACEF
RGB
rgb(192, 172, 239)
HSL
hsl(258, 68%, 81%)
CMYK
cmyk(20%, 28%, 0%, 6%)
HSV
hsv(258, 28%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.02:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.39:1
Pass - WCAG AA (Normal Text)
Pass - 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: #C0ACEF;
color: #C0ACEF;
border-color: #C0ACEF;
}
Tailwind CSS (with arbitrary values)
bg-[#C0ACEF]
text-[#C0ACEF]
border-[#C0ACEF]
// Example usage:
<div className="bg-[#C0ACEF]">