Hex Color #C17CDB - Custom Color
Color Codes
HEX
#C17CDB
RGB
rgb(193, 124, 219)
HSL
hsl(284, 57%, 67%)
CMYK
cmyk(12%, 43%, 0%, 14%)
HSV
hsv(284, 43%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.93:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.17: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: #C17CDB;
color: #C17CDB;
border-color: #C17CDB;
}
Tailwind CSS (with arbitrary values)
bg-[#C17CDB]
text-[#C17CDB]
border-[#C17CDB]
// Example usage:
<div className="bg-[#C17CDB]">