Hex Color #C684DF - Custom Color
Color Codes
HEX
#C684DF
RGB
rgb(198, 132, 223)
HSL
hsl(284, 59%, 70%)
CMYK
cmyk(11%, 41%, 0%, 13%)
HSV
hsv(284, 41%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.70:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.77: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: #C684DF;
color: #C684DF;
border-color: #C684DF;
}
Tailwind CSS (with arbitrary values)
bg-[#C684DF]
text-[#C684DF]
border-[#C684DF]
// Example usage:
<div className="bg-[#C684DF]">