#A171EB

#a171eb ≈ Medium Purple

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#a171eb is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 63.14% red, 44.31% green and 92.16% blue; printed in CMYK it uses 31.49% cyan, 51.91% magenta, 0% yellow and 7.84% black. Its hue angle is 263.61°, with 75.31% saturation and 68.24% 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 brand accents. Black text on this color reaches a contrast ratio of 6.08:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 3.28.

Description generated from the measured properties of this color.

Conversions of #a171eb 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.2539

Readable text 3.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #9481b9 ≈ 0.001% of males
Protanopia #448aef ≈ 1.01% of males
Deuteranopia #5289e8 ≈ 1.27% of males
Tritanopia #9289a3 ≈ 0.0001% of males
Protanomaly #7581ee ≈ 1.08% of males
Deuteranomaly #7980e9 ≈ 4.63% of males
Tritanomaly #9880c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a171eb {
  color: #a171eb;
}
Background
.bg-a171eb {
  background-color: #a171eb;
  color: #000000;
}
Border
.border-a171eb {
  border: 2px solid #a171eb;
}
CSS variables
:root {
  --color-primary: #a171eb;
  --color-primary-rgb: 161 113 235;
  --color-primary-hsl: 264 75% 68%;
}
Gradient
.gradient-a171eb {
  background: linear-gradient(135deg, #a171eb, #de71eb);
}
Colored shadow
.shadow-a171eb {
  box-shadow: 0 8px 24px rgb(161 113 235 / 0.35);
}

Medium Purple
#a171eb  rgb(161, 113, 235)  hsl(264, 75%, 68%)  Medium Purple
#bbeb71  rgb(187, 235, 113)  hsl(84, 75%, 68%)  Inchworm
#eba171  rgb(235, 161, 113)  hsl(24, 75%, 68%)  Sandy Brown
#71eba1  rgb(113, 235, 161)  hsl(144, 75%, 68%)  Light Green