#b507a2 ≈ Medium Violet Red
#b507a2 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 63.53% blue; printed in CMYK it uses 0% cyan, 96.13% magenta, 10.5% yellow and 29.02% black. Its hue angle is 306.55°, 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.97:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.22.
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.1258 |
Shades
#b507a2 mixed progressively with black.
Tints
#b507a2 mixed progressively with white.
Tones
#b507a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b507a2 {
color: #b507a2;
}
.bg-b507a2 {
background-color: #b507a2;
color: #ffffff;
}
.border-b507a2 {
border: 2px solid #b507a2;
}
:root {
--color-primary: #b507a2;
--color-primary-rgb: 181 7 162;
--color-primary-hsl: 307 93% 37%;
}
.gradient-b507a2 {
background: linear-gradient(135deg, #b507a2, #b5074b);
}
.shadow-b507a2 {
box-shadow: 0 8px 24px rgb(181 7 162 / 0.35);
}
Medium Violet Red
#b507a2 rgb(181, 7, 162) hsl(307, 93%, 37%) Medium Violet Red
#07b51a rgb(7, 181, 26) hsl(127, 93%, 37%) Kelly Green
#a2b507 rgb(162, 181, 7) hsl(67, 93%, 37%) Apple Green
#07a2b5 rgb(7, 162, 181) hsl(187, 93%, 37%) Bondi Blue