#802AFA

#802afa ≈ Electric Violet

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

#802afa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 50.2% red, 16.47% green and 98.04% blue; printed in CMYK it uses 48.8% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 264.81°, 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 5.79:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 2.59.

Description generated from the measured properties of this color.

Conversions of #802afa 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.1315

Readable text 5.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.63:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #7154b5 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0062f6 ≈ 1.27% of males
Tritanopia #586b97 ≈ 0.0001% of males
Protanomaly #0a55fd ≈ 1.08% of males
Deuteranomaly #2151f8 ≈ 4.63% of males
Tritanomaly #6a58c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Violet
#802afa  rgb(128, 42, 250)  hsl(265, 95%, 57%)  Electric Violet
#a4fa2a  rgb(164, 250, 42)  hsl(85, 95%, 57%)  Green Yellow
#fa802a  rgb(250, 128, 42)  hsl(25, 95%, 57%)  Pumpkin
#2afa80  rgb(42, 250, 128)  hsl(145, 95%, 57%)  Spring Green