Hex Color #D56ADC - Custom Color
Color Codes
HEX
#D56ADC
RGB
rgb(213, 106, 220)
HSL
hsl(296, 62%, 64%)
CMYK
cmyk(3%, 52%, 0%, 14%)
HSV
hsv(296, 52%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.92: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: #D56ADC;
color: #D56ADC;
border-color: #D56ADC;
}
Tailwind CSS (with arbitrary values)
bg-[#D56ADC]
text-[#D56ADC]
border-[#D56ADC]
// Example usage:
<div className="bg-[#D56ADC]">