#A271FD

#a271fd ≈ Medium Purple

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

#a271fd is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 63.53% red, 44.31% green and 99.22% blue; printed in CMYK it uses 35.97% cyan, 55.34% magenta, 0% yellow and 0.78% black. Its hue angle is 261°, with 97.22% saturation and 71.76% 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.32:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.28.

Description generated from the measured properties of this color.

Conversions of #a271fd 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.2658

Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #9683c4 ≈ 0.001% of males
Protanopia #2e8eff ≈ 1.01% of males
Deuteranopia #408bfa ≈ 1.27% of males
Tritanopia #8d8eac ≈ 0.0001% of males
Protanomaly #7083ff ≈ 1.08% of males
Deuteranomaly #7481fb ≈ 4.63% of males
Tritanomaly #9683d2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a271fd {
  color: #a271fd;
}
Background
.bg-a271fd {
  background-color: #a271fd;
  color: #000000;
}
Border
.border-a271fd {
  border: 2px solid #a271fd;
}
CSS variables
:root {
  --color-primary: #a271fd;
  --color-primary-rgb: 162 113 253;
  --color-primary-hsl: 261 97% 72%;
}
Gradient
.gradient-a271fd {
  background: linear-gradient(135deg, #a271fd, #e871fd);
}
Colored shadow
.shadow-a271fd {
  box-shadow: 0 8px 24px rgb(162 113 253 / 0.35);
}

Medium Purple
#a271fd  rgb(162, 113, 253)  hsl(261, 97%, 72%)  Medium Purple
#ccfd71  rgb(204, 253, 113)  hsl(81, 97%, 72%)  Inchworm
#fda271  rgb(253, 162, 113)  hsl(21, 97%, 72%)  Light Salmon
#71fda2  rgb(113, 253, 162)  hsl(141, 97%, 72%)  Medium Spring Green