Hex Color #C2B4EA - Custom Color
Color Codes
HEX
#C2B4EA
RGB
rgb(194, 180, 234)
HSL
hsl(256, 56%, 81%)
CMYK
cmyk(17%, 23%, 0%, 8%)
HSV
hsv(256, 23%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.91:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.01:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #C2B4EA;
color: #C2B4EA;
border-color: #C2B4EA;
}
Tailwind CSS (with arbitrary values)
bg-[#C2B4EA]
text-[#C2B4EA]
border-[#C2B4EA]
// Example usage:
<div className="bg-[#C2B4EA]">