#802DFA

#802dfa ≈ Electric Violet

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

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

Description generated from the measured properties of this color.

Conversions of #802dfa 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.1337

Readable text 5.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.67:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #7155b5 ≈ 0.001% of males
Protanopia #0069ff ≈ 1.01% of males
Deuteranopia #0062f6 ≈ 1.27% of males
Tritanopia #586c97 ≈ 0.0001% of males
Protanomaly #1057fd ≈ 1.08% of males
Deuteranomaly #2352f8 ≈ 4.63% of males
Tritanomaly #6a59c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Violet
#802dfa  rgb(128, 45, 250)  hsl(264, 95%, 58%)  Electric Violet
#a7fa2d  rgb(167, 250, 45)  hsl(84, 95%, 58%)  Green Yellow
#fa802d  rgb(250, 128, 45)  hsl(24, 95%, 58%)  Pumpkin
#2dfa80  rgb(45, 250, 128)  hsl(144, 95%, 58%)  Spring Green