Hex Color #D678EA - Custom Color
Color Codes
HEX
#D678EA
RGB
rgb(214, 120, 234)
HSL
hsl(289, 73%, 69%)
CMYK
cmyk(9%, 49%, 0%, 8%)
HSV
hsv(289, 49%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.72:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.73: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: #D678EA;
color: #D678EA;
border-color: #D678EA;
}
Tailwind CSS (with arbitrary values)
bg-[#D678EA]
text-[#D678EA]
border-[#D678EA]
// Example usage:
<div className="bg-[#D678EA]">