#AF06FA

#af06fa ≈ Vivid Violet

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#af06fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 2.35% green and 98.04% blue; printed in CMYK it uses 30% cyan, 97.6% magenta, 0% yellow and 1.96% black. Its hue angle is 281.56°, with 96.06% saturation and 50.2% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 4.97:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.84.

Description generated from the measured properties of this color.

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

Readable text 4.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #8d58b8 ≈ 0.001% of males
Protanopia #006aff ≈ 1.01% of males
Deuteranopia #0071f6 ≈ 1.27% of males
Tritanopia #a35d93 ≈ 0.0001% of males
Protanomaly #5754fd ≈ 1.08% of males
Deuteranomaly #6759f8 ≈ 4.63% of males
Tritanomaly #a849c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af06fa {
  color: #af06fa;
}
Background
.bg-af06fa {
  background-color: #af06fa;
  color: #ffffff;
}
Border
.border-af06fa {
  border: 2px solid #af06fa;
}
CSS variables
:root {
  --color-primary: #af06fa;
  --color-primary-rgb: 175 6 250;
  --color-primary-hsl: 282 96% 50%;
}
Gradient
.gradient-af06fa {
  background: linear-gradient(135deg, #af06fa, #fa06cb);
}
Colored shadow
.shadow-af06fa {
  box-shadow: 0 8px 24px rgb(175 6 250 / 0.35);
}

Vivid Violet
#af06fa  rgb(175, 6, 250)  hsl(282, 96%, 50%)  Vivid Violet
#51fa06  rgb(81, 250, 6)  hsl(102, 96%, 50%)  Harlequin
#faaf06  rgb(250, 175, 6)  hsl(42, 96%, 50%)  Marigold
#06faaf  rgb(6, 250, 175)  hsl(162, 96%, 50%)  Medium Spring Green