#AF02EE

#af02ee ≈ Vivid Violet

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

#af02ee is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 0.78% green and 93.33% blue; printed in CMYK it uses 26.47% cyan, 99.16% magenta, 0% yellow and 6.67% black. Its hue angle is 283.98°, with 98.33% saturation and 47.06% 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.16:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 3.34.

Description generated from the measured properties of this color.

Conversions of #af02ee 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.1533

Readable text 5.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #8c56b0 ≈ 0.001% of males
Protanopia #0067f3 ≈ 1.01% of males
Deuteranopia #0070ea ≈ 1.27% of males
Tritanopia #a7568c ≈ 0.0001% of males
Protanomaly #5c50f1 ≈ 1.08% of males
Deuteranomaly #6c58ec ≈ 4.63% of males
Tritanomaly #aa43bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Vivid Violet
#af02ee  rgb(175, 2, 238)  hsl(284, 98%, 47%)  Vivid Violet
#41ee02  rgb(65, 238, 2)  hsl(104, 98%, 47%)  Neon Green
#eeaf02  rgb(238, 175, 2)  hsl(44, 98%, 47%)  Goldenrod
#02eeaf  rgb(2, 238, 175)  hsl(164, 98%, 47%)  Medium Spring Green