Hex Color #C028EE - Custom Color
Color Codes
HEX
#C028EE
RGB
rgb(192, 40, 238)
HSL
hsl(286, 85%, 55%)
CMYK
cmyk(19%, 83%, 0%, 7%)
HSV
hsv(286, 83%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.39:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.78: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: #C028EE;
color: #C028EE;
border-color: #C028EE;
}
Tailwind CSS (with arbitrary values)
bg-[#C028EE]
text-[#C028EE]
border-[#C028EE]
// Example usage:
<div className="bg-[#C028EE]">