#8A02EF

#8a02ef ≈ Electric Violet

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

#8a02ef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 0.78% green and 93.73% blue; printed in CMYK it uses 42.26% cyan, 99.16% magenta, 0% yellow and 6.27% black. Its hue angle is 274.43°, with 98.34% saturation and 47.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 6.3:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #8a02ef 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.1168

Readable text 6.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.34:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #734bad ≈ 0.001% of males
Protanopia #005ff4 ≈ 1.01% of males
Deuteranopia #005eeb ≈ 1.27% of males
Tritanopia #715c8c ≈ 0.0001% of males
Protanomaly #264af2 ≈ 1.08% of males
Deuteranomaly #384aed ≈ 4.63% of males
Tritanomaly #7c48bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Violet
#8a02ef  rgb(138, 2, 239)  hsl(274, 98%, 47%)  Electric Violet
#67ef02  rgb(103, 239, 2)  hsl(94, 98%, 47%)  Lawn Green
#ef8a02  rgb(239, 138, 2)  hsl(34, 98%, 47%)  Carrot Orange
#02ef8a  rgb(2, 239, 138)  hsl(154, 98%, 47%)  Medium Spring Green