Hex Color #C8C4FA - Custom Color
Color Codes
HEX
#C8C4FA
RGB
rgb(200, 196, 250)
HSL
hsl(244, 84%, 87%)
CMYK
cmyk(20%, 22%, 0%, 2%)
HSV
hsv(244, 22%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.65:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.73: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: #C8C4FA;
color: #C8C4FA;
border-color: #C8C4FA;
}
Tailwind CSS (with arbitrary values)
bg-[#C8C4FA]
text-[#C8C4FA]
border-[#C8C4FA]
// Example usage:
<div className="bg-[#C8C4FA]">