#A166F2

#a166f2 ≈ Medium Purple

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

#a166f2 is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 63.14% red, 40% green and 94.9% blue; printed in CMYK it uses 33.47% cyan, 57.85% magenta, 0% yellow and 5.1% black. Its hue angle is 265.29°, with 84.34% saturation and 67.45% 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 5.7:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.66.

Description generated from the measured properties of this color.

Conversions of #a166f2 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.2349

Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #917abb ≈ 0.001% of males
Protanopia #1d85f7 ≈ 1.01% of males
Deuteranopia #3a84ef ≈ 1.27% of males
Tritanopia #9083a2 ≈ 0.0001% of males
Protanomaly #6c7af5 ≈ 1.08% of males
Deuteranomaly #7279f0 ≈ 4.63% of males
Tritanomaly #9778c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a166f2 {
  color: #a166f2;
}
Background
.bg-a166f2 {
  background-color: #a166f2;
  color: #000000;
}
Border
.border-a166f2 {
  border: 2px solid #a166f2;
}
CSS variables
:root {
  --color-primary: #a166f2;
  --color-primary-rgb: 161 102 242;
  --color-primary-hsl: 265 84% 67%;
}
Gradient
.gradient-a166f2 {
  background: linear-gradient(135deg, #a166f2, #e766f2);
}
Colored shadow
.shadow-a166f2 {
  box-shadow: 0 8px 24px rgb(161 102 242 / 0.35);
}

Medium Purple
#a166f2  rgb(161, 102, 242)  hsl(265, 84%, 67%)  Medium Purple
#b7f266  rgb(183, 242, 102)  hsl(85, 84%, 67%)  Inchworm
#f2a166  rgb(242, 161, 102)  hsl(25, 84%, 67%)  Sandy Brown
#66f2a1  rgb(102, 242, 161)  hsl(145, 84%, 67%)  Medium Spring Green