#C508A7

#c508a7 ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#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.

Conversions of #c508a7 into other color spaces
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 luminance0.1483

Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #985587 ≈ 0.001% of males
Protanopia #175baa ≈ 1.01% of males
Deuteranopia #6175a3 ≈ 1.27% of males
Tritanopia #d02162 ≈ 0.0001% of males
Protanomaly #8347a9 ≈ 1.08% of males
Deuteranomaly #945ca5 ≈ 4.63% of males
Tritanomaly #cc1a83 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c508a7 {
  color: #c508a7;
}
Background
.bg-c508a7 {
  background-color: #c508a7;
  color: #ffffff;
}
Border
.border-c508a7 {
  border: 2px solid #c508a7;
}
CSS variables
:root {
  --color-primary: #c508a7;
  --color-primary-rgb: 197 8 167;
  --color-primary-hsl: 310 92% 40%;
}
Gradient
.gradient-c508a7 {
  background: linear-gradient(135deg, #c508a7, #c50849);
}
Colored shadow
.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