#A02AFA

#a02afa ≈ Vivid Violet

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#a02afa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 62.75% red, 16.47% green and 98.04% blue; printed in CMYK it uses 36% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 274.04°, with 95.41% saturation and 57.25% 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. White text on this color reaches a contrast ratio of 4.99:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.44.

Description generated from the measured properties of this color.

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

Readable text 4.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #865bb8 ≈ 0.001% of males
Protanopia #006dff ≈ 1.01% of males
Deuteranopia #006ff6 ≈ 1.27% of males
Tritanopia #8e6797 ≈ 0.0001% of males
Protanomaly #4b5afd ≈ 1.08% of males
Deuteranomaly #595bf8 ≈ 4.63% of males
Tritanomaly #9555c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a02afa {
  color: #a02afa;
}
Background
.bg-a02afa {
  background-color: #a02afa;
  color: #ffffff;
}
Border
.border-a02afa {
  border: 2px solid #a02afa;
}
CSS variables
:root {
  --color-primary: #a02afa;
  --color-primary-rgb: 160 42 250;
  --color-primary-hsl: 274 95% 57%;
}
Gradient
.gradient-a02afa {
  background: linear-gradient(135deg, #a02afa, #fa2aec);
}
Colored shadow
.shadow-a02afa {
  box-shadow: 0 8px 24px rgb(160 42 250 / 0.35);
}

Vivid Violet
#a02afa  rgb(160, 42, 250)  hsl(274, 95%, 57%)  Vivid Violet
#84fa2a  rgb(132, 250, 42)  hsl(94, 95%, 57%)  Lawn Green
#faa02a  rgb(250, 160, 42)  hsl(34, 95%, 57%)  Orange Peel
#2afaa0  rgb(42, 250, 160)  hsl(154, 95%, 57%)  Medium Spring Green