#c508a7 ≈ Medium Violet Red
#c508a7 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 3.14% green and 65.49% blue; printed in CMYK it uses 0% cyan, 95.94% magenta, 15.23% yellow and 22.75% black. Its hue angle is 309.52°, with 92.2% saturation and 40.2% 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. White text on this color reaches a contrast ratio of 5.29:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.8.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1483 |
Shades
#c508a7 mixed progressively with black.
Tints
#c508a7 mixed progressively with white.
Tones
#c508a7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c508a7 {
color: #c508a7;
}
.bg-c508a7 {
background-color: #c508a7;
color: #ffffff;
}
.border-c508a7 {
border: 2px solid #c508a7;
}
:root {
--color-primary: #c508a7;
--color-primary-rgb: 197 8 167;
--color-primary-hsl: 310 92% 40%;
}
.gradient-c508a7 {
background: linear-gradient(135deg, #c508a7, #c50849);
}
.shadow-c508a7 {
box-shadow: 0 8px 24px rgb(197 8 167 / 0.35);
}
Medium Violet Red
#c508a7 rgb(197, 8, 167) hsl(310, 92%, 40%) Medium Violet Red
#08c526 rgb(8, 197, 38) hsl(130, 92%, 40%) Lime Green
#a7c508 rgb(167, 197, 8) hsl(70, 92%, 40%) Yellow Green
#08a7c5 rgb(8, 167, 197) hsl(190, 92%, 40%) Bondi Blue