#cb21ff ≈ Electric Purple
#cb21ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 12.94% green and 100% blue; printed in CMYK it uses 20.39% cyan, 87.06% magenta, 0% yellow and 0% black. Its hue angle is 285.95°, with 100% saturation and 56.47% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.2:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.32.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.21 |
Shades
#cb21ff mixed progressively with black.
Tints
#cb21ff mixed progressively with white.
Tones
#cb21ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb21ff {
color: #cb21ff;
}
.bg-cb21ff {
background-color: #cb21ff;
color: #000000;
}
.border-cb21ff {
border: 2px solid #cb21ff;
}
:root {
--color-primary: #cb21ff;
--color-primary-rgb: 203 33 255;
--color-primary-hsl: 286 100% 56%;
}
.gradient-cb21ff {
background: linear-gradient(135deg, #cb21ff, #ff21c4);
}
.shadow-cb21ff {
box-shadow: 0 8px 24px rgb(203 33 255 / 0.35);
}
Electric Purple
#cb21ff rgb(203, 33, 255) hsl(286, 100%, 56%) Electric Purple
#55ff21 rgb(85, 255, 33) hsl(106, 100%, 56%) Harlequin
#ffcb21 rgb(255, 203, 33) hsl(46, 100%, 56%) Sunglow
#21ffcb rgb(33, 255, 203) hsl(166, 100%, 56%) Aquamarine