Web Safe Color
Copy-ready color values
HEX
#CC00CCRGB
rgb(204, 0, 204)HSL
hsl(300, 100%, 40%)HSV
hsv(300, 100%, 80%)CMYK approx.
cmyk(0, 100, 0, 20)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #CC00CC | |
| RGB | rgb(204, 0, 204) | |
| HSL | hsl(300, 100%, 40%) | |
| HSV | hsv(300, 100%, 80%) | |
| CMYK approx. | cmyk(0, 100, 0, 20) | |
| CSS keyword | cc00cc |
Contrast and classification
DarkLightness4.73:1Contrast with white4.44:1Contrast with blackMagenta / PurpleColor family
Shade and tint preview
White 10%#D11AD1
White 30%#DB4DDB
White 70%#F0B3F0
White 90%#FAE6FA
Black 10%#B800B8
Black 30%#8F008F
Black 70%#3D003D
Black 90%#140014
Harmony palettes
Complementary
#33FF33#64FF64Analogous
#B400CC#CC18B4Triadic
#00CCCC#CCCC00Split complementary
#58FF58#2AD12AUsing Cc00cc
Cc00cc works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-cc00cc: #cc00cc;
}
.button-primary {
background: var(--color-cc00cc);
color: #ffffff;
}
$cc00cc: #cc00cc;
// Tailwind arbitrary value
class="bg-[#cc00cc] text-white"