#AF06EF

#af06ef ≈ Vivid Violet

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

#af06ef 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 93.73% blue; printed in CMYK it uses 26.78% cyan, 97.49% magenta, 0% yellow and 6.27% black. Its hue angle is 283.52°, with 95.1% saturation and 48.04% 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 5.13:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 3.3.

Description generated from the measured properties of this color.

Conversions of #af06ef 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.1548

Readable text 5.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #8d56b1 ≈ 0.001% of males
Protanopia #0067f4 ≈ 1.01% of males
Deuteranopia #0070eb ≈ 1.27% of males
Tritanopia #a6578d ≈ 0.0001% of males
Protanomaly #5b51f2 ≈ 1.08% of males
Deuteranomaly #6c58ed ≈ 4.63% of males
Tritanomaly #aa44bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af06ef {
  color: #af06ef;
}
Background
.bg-af06ef {
  background-color: #af06ef;
  color: #ffffff;
}
Border
.border-af06ef {
  border: 2px solid #af06ef;
}
CSS variables
:root {
  --color-primary: #af06ef;
  --color-primary-rgb: 175 6 239;
  --color-primary-hsl: 284 95% 48%;
}
Gradient
.gradient-af06ef {
  background: linear-gradient(135deg, #af06ef, #ef06ba);
}
Colored shadow
.shadow-af06ef {
  box-shadow: 0 8px 24px rgb(175 6 239 / 0.35);
}

Vivid Violet
#af06ef  rgb(175, 6, 239)  hsl(284, 95%, 48%)  Vivid Violet
#46ef06  rgb(70, 239, 6)  hsl(104, 95%, 48%)  Harlequin
#efaf06  rgb(239, 175, 6)  hsl(44, 95%, 48%)  Amber
#06efaf  rgb(6, 239, 175)  hsl(164, 95%, 48%)  Medium Spring Green