Hex Color #C7ADF5 - Custom Color
Color Codes
HEX
#C7ADF5
RGB
rgb(199, 173, 245)
HSL
hsl(262, 78%, 82%)
CMYK
cmyk(19%, 29%, 0%, 4%)
HSV
hsv(262, 29%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.96:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.72: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: #C7ADF5;
color: #C7ADF5;
border-color: #C7ADF5;
}
Tailwind CSS (with arbitrary values)
bg-[#C7ADF5]
text-[#C7ADF5]
border-[#C7ADF5]
// Example usage:
<div className="bg-[#C7ADF5]">