#AF72FA

#af72fa ≈ Medium Purple

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

#af72fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 68.63% red, 44.71% green and 98.04% blue; printed in CMYK it uses 30% cyan, 54.4% magenta, 0% yellow and 1.96% black. Its hue angle is 266.91°, with 93.15% saturation and 71.37% 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.61:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.26.

Description generated from the measured properties of this color.

Conversions of #af72fa 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.2805

Readable text 3.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #909090 ≈ 0.003% of males
Achromatomaly #9e85c4 ≈ 0.001% of males
Protanopia #3d8fff ≈ 1.01% of males
Deuteranopia #5290f7 ≈ 1.27% of males
Tritanopia #a18cab ≈ 0.0001% of males
Protanomaly #7b85fd ≈ 1.08% of males
Deuteranomaly #8285f8 ≈ 4.63% of males
Tritanomaly #a783d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af72fa {
  color: #af72fa;
}
Background
.bg-af72fa {
  background-color: #af72fa;
  color: #000000;
}
Border
.border-af72fa {
  border: 2px solid #af72fa;
}
CSS variables
:root {
  --color-primary: #af72fa;
  --color-primary-rgb: 175 114 250;
  --color-primary-hsl: 267 93% 71%;
}
Gradient
.gradient-af72fa {
  background: linear-gradient(135deg, #af72fa, #f372fa);
}
Colored shadow
.shadow-af72fa {
  box-shadow: 0 8px 24px rgb(175 114 250 / 0.35);
}

Medium Purple
#af72fa  rgb(175, 114, 250)  hsl(267, 93%, 71%)  Medium Purple
#bdfa72  rgb(189, 250, 114)  hsl(87, 93%, 71%)  Inchworm
#faaf72  rgb(250, 175, 114)  hsl(27, 93%, 71%)  Sandy Brown
#72faaf  rgb(114, 250, 175)  hsl(147, 93%, 71%)  Medium Spring Green