#CC0CEC
Color Details
HEX
#CC0CEC
RGB
rgb(204, 12, 236)
HSL
hsl(291, 90%, 49%)
CMYK
cmyk(14%, 95%, 0%, 7%)
Best text on this color
#000000 (CR 4.83:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #CC0CEC
#CC0CEC converts to RGB(204, 12, 236) and HSL(291, 90%, 49%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#CC0CEC FAQs
What is the RGB value of #CC0CEC?
RGB: 204, 12, 236. Copy as CSS:
rgb(204, 12, 236)
Is #CC0CEC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #CC0CEC?
Complement: #2eed0c.
Does #CC0CEC have good contrast on white or black?
On white: 4.35:1 (AA (large text)).
On black: 4.83:1 (AA (normal text)).