#b507a5 ≈ Medium Violet Red
#b507a5 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 70.98% red, 2.75% green and 64.71% blue; printed in CMYK it uses 0% cyan, 96.13% magenta, 8.84% yellow and 29.02% black. Its hue angle is 305.52°, with 92.55% saturation and 36.86% 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.93:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.65.
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.1269 |
Shades
#b507a5 mixed progressively with black.
Tints
#b507a5 mixed progressively with white.
Tones
#b507a5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b507a5 {
color: #b507a5;
}
.bg-b507a5 {
background-color: #b507a5;
color: #ffffff;
}
.border-b507a5 {
border: 2px solid #b507a5;
}
:root {
--color-primary: #b507a5;
--color-primary-rgb: 181 7 165;
--color-primary-hsl: 306 93% 37%;
}
.gradient-b507a5 {
background: linear-gradient(135deg, #b507a5, #b5074e);
}
.shadow-b507a5 {
box-shadow: 0 8px 24px rgb(181 7 165 / 0.35);
}
Medium Violet Red
#b507a5 rgb(181, 7, 165) hsl(306, 93%, 37%) Medium Violet Red
#07b517 rgb(7, 181, 23) hsl(126, 93%, 37%) Kelly Green
#a5b507 rgb(165, 181, 7) hsl(66, 93%, 37%) Apple Green
#07a5b5 rgb(7, 165, 181) hsl(186, 93%, 37%) Cadet Blue