Hex Color #C754EF - Custom Color
Color Codes
HEX
#C754EF
RGB
rgb(199, 84, 239)
HSL
hsl(285, 83%, 63%)
CMYK
cmyk(17%, 65%, 0%, 6%)
HSV
hsv(285, 65%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.53:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.94: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: #C754EF;
color: #C754EF;
border-color: #C754EF;
}
Tailwind CSS (with arbitrary values)
bg-[#C754EF]
text-[#C754EF]
border-[#C754EF]
// Example usage:
<div className="bg-[#C754EF]">