#A271F4

#a271f4 ≈ Medium Purple

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

#a271f4 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 95.69% blue; printed in CMYK it uses 33.61% cyan, 53.69% magenta, 0% yellow and 4.31% black. Its hue angle is 262.44°, with 85.62% saturation and 70% 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.2:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.26.

Description generated from the measured properties of this color.

Conversions of #a271f4 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.2602

Readable text 3.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.2:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8c8c8c ≈ 0.003% of males
Achromatomaly #9582bf ≈ 0.001% of males
Protanopia #3b8cf8 ≈ 1.01% of males
Deuteranopia #4a8af1 ≈ 1.27% of males
Tritanopia #908ba8 ≈ 0.0001% of males
Protanomaly #7382f7 ≈ 1.08% of males
Deuteranomaly #7781f2 ≈ 4.63% of males
Tritanomaly #9882cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a271f4 {
  color: #a271f4;
}
Background
.bg-a271f4 {
  background-color: #a271f4;
  color: #000000;
}
Border
.border-a271f4 {
  border: 2px solid #a271f4;
}
CSS variables
:root {
  --color-primary: #a271f4;
  --color-primary-rgb: 162 113 244;
  --color-primary-hsl: 262 86% 70%;
}
Gradient
.gradient-a271f4 {
  background: linear-gradient(135deg, #a271f4, #e371f4);
}
Colored shadow
.shadow-a271f4 {
  box-shadow: 0 8px 24px rgb(162 113 244 / 0.35);
}

Medium Purple
#a271f4  rgb(162, 113, 244)  hsl(262, 86%, 70%)  Medium Purple
#c3f471  rgb(195, 244, 113)  hsl(82, 86%, 70%)  Inchworm
#f4a271  rgb(244, 162, 113)  hsl(22, 86%, 70%)  Light Salmon
#71f4a2  rgb(113, 244, 162)  hsl(142, 86%, 70%)  Medium Spring Green