#A172FA

#a172fa ≈ Medium Purple

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#a172fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 63.14% red, 44.71% green and 98.04% blue; printed in CMYK it uses 35.6% cyan, 54.4% magenta, 0% yellow and 1.96% black. Its hue angle is 260.74°, with 93.15% saturation and 71.37% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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 6.3:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.89.

Description generated from the measured properties of this color.

Conversions of #a172fa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9966ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2651

Readable text 3.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #9583c2 ≈ 0.001% of males
Protanopia #358dff ≈ 1.01% of males
Deuteranopia #448bf7 ≈ 1.27% of males
Tritanopia #8c8eab ≈ 0.0001% of males
Protanomaly #7183fd ≈ 1.08% of males
Deuteranomaly #7582f8 ≈ 4.63% of males
Tritanomaly #9584d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a172fa {
  color: #a172fa;
}
Background
.bg-a172fa {
  background-color: #a172fa;
  color: #000000;
}
Border
.border-a172fa {
  border: 2px solid #a172fa;
}
CSS variables
:root {
  --color-primary: #a172fa;
  --color-primary-rgb: 161 114 250;
  --color-primary-hsl: 261 93% 71%;
}
Gradient
.gradient-a172fa {
  background: linear-gradient(135deg, #a172fa, #e572fa);
}
Colored shadow
.shadow-a172fa {
  box-shadow: 0 8px 24px rgb(161 114 250 / 0.35);
}

Medium Purple
#a172fa  rgb(161, 114, 250)  hsl(261, 93%, 71%)  Medium Purple
#cbfa72  rgb(203, 250, 114)  hsl(81, 93%, 71%)  Inchworm
#faa172  rgb(250, 161, 114)  hsl(21, 93%, 71%)  Light Salmon
#72faa1  rgb(114, 250, 161)  hsl(141, 93%, 71%)  Medium Spring Green