#A18AFA

#a18afa ≈ Medium Purple

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

#a18afa is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 63.14% red, 54.12% green and 98.04% blue; printed in CMYK it uses 35.6% cyan, 44.8% magenta, 0% yellow and 1.96% black. Its hue angle is 252.32°, with 91.8% saturation and 76.08% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 7.53:1 (WCAG AAA). The closest named color is Medium Purple (#9370db), ΔE 8.42.

Description generated from the measured properties of this color.

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

Readable text 2.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9b9b9b ≈ 0.003% of males
Achromatomaly #9d94c8 ≈ 0.001% of males
Protanopia #639dfe ≈ 1.01% of males
Deuteranopia #6698f7 ≈ 1.27% of males
Tritanopia #8ba0b6 ≈ 0.0001% of males
Protanomaly #8196fc ≈ 1.08% of males
Deuteranomaly #8293f8 ≈ 4.63% of males
Tritanomaly #9497d5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a18afa {
  color: #a18afa;
}
Background
.bg-a18afa {
  background-color: #a18afa;
  color: #000000;
}
Border
.border-a18afa {
  border: 2px solid #a18afa;
}
CSS variables
:root {
  --color-primary: #a18afa;
  --color-primary-rgb: 161 138 250;
  --color-primary-hsl: 252 92% 76%;
}
Gradient
.gradient-a18afa {
  background: linear-gradient(135deg, #a18afa, #d98afa);
}
Colored shadow
.shadow-a18afa {
  box-shadow: 0 8px 24px rgb(161 138 250 / 0.35);
}

Medium Purple
#a18afa  rgb(161, 138, 250)  hsl(252, 92%, 76%)  Medium Purple
#e3fa8a  rgb(227, 250, 138)  hsl(72, 92%, 76%)  Pastel Yellow
#faa18a  rgb(250, 161, 138)  hsl(12, 92%, 76%)  Vivid Tangerine
#8afaa1  rgb(138, 250, 161)  hsl(132, 92%, 76%)  Pale Green