Hex Color #CD78DA - Custom Color
Color Codes
HEX
#CD78DA
RGB
rgb(205, 120, 218)
HSL
hsl(292, 57%, 66%)
CMYK
cmyk(6%, 45%, 0%, 15%)
HSV
hsv(292, 45%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.88:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.29: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: #CD78DA;
color: #CD78DA;
border-color: #CD78DA;
}
Tailwind CSS (with arbitrary values)
bg-[#CD78DA]
text-[#CD78DA]
border-[#CD78DA]
// Example usage:
<div className="bg-[#CD78DA]">