#AA02F2

#aa02f2 ≈ Vivid Violet

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

#aa02f2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 66.67% red, 0.78% green and 94.9% blue; printed in CMYK it uses 29.75% cyan, 99.17% magenta, 0% yellow and 5.1% black. Its hue angle is 282°, with 98.36% saturation and 47.84% 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.25:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.34.

Description generated from the measured properties of this color.

Conversions of #aa02f2 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.15

Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #8955b2 ≈ 0.001% of males
Protanopia #0067f7 ≈ 1.01% of males
Deuteranopia #006eee ≈ 1.27% of males
Tritanopia #9f598e ≈ 0.0001% of males
Protanomaly #5450f5 ≈ 1.08% of males
Deuteranomaly #6456f0 ≈ 4.63% of males
Tritanomaly #a345bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-aa02f2 {
  color: #aa02f2;
}
Background
.bg-aa02f2 {
  background-color: #aa02f2;
  color: #ffffff;
}
Border
.border-aa02f2 {
  border: 2px solid #aa02f2;
}
CSS variables
:root {
  --color-primary: #aa02f2;
  --color-primary-rgb: 170 2 242;
  --color-primary-hsl: 282 98% 48%;
}
Gradient
.gradient-aa02f2 {
  background: linear-gradient(135deg, #aa02f2, #f202c2);
}
Colored shadow
.shadow-aa02f2 {
  box-shadow: 0 8px 24px rgb(170 2 242 / 0.35);
}

Vivid Violet
#aa02f2  rgb(170, 2, 242)  hsl(282, 98%, 48%)  Vivid Violet
#4af202  rgb(74, 242, 2)  hsl(102, 98%, 48%)  Harlequin
#f2aa02  rgb(242, 170, 2)  hsl(42, 98%, 48%)  Marigold
#02f2aa  rgb(2, 242, 170)  hsl(162, 98%, 48%)  Medium Spring Green