Hex Color #D16CCE - Custom Color
Color Codes
HEX
#D16CCE
RGB
rgb(209, 108, 206)
HSL
hsl(302, 52%, 62%)
CMYK
cmyk(0%, 48%, 1%, 18%)
HSV
hsv(302, 48%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.11:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.75:1
Pass - WCAG AA (Normal Text)
Fail - 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: #D16CCE;
color: #D16CCE;
border-color: #D16CCE;
}
Tailwind CSS (with arbitrary values)
bg-[#D16CCE]
text-[#D16CCE]
border-[#D16CCE]
// Example usage:
<div className="bg-[#D16CCE]">