#7802EC

#7802ec ≈ Electric Indigo

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

#7802ec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 47.06% red, 0.78% green and 92.55% blue; printed in CMYK it uses 49.15% cyan, 99.15% magenta, 0% yellow and 7.45% black. Its hue angle is 270.26°, with 98.32% saturation and 46.67% 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.96:1 (WCAG AA). The closest named color is Electric Indigo (#6f00ff), ΔE 2.29.

Description generated from the measured properties of this color.

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

Readable text 6.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #6746a9 ≈ 0.001% of males
Protanopia #005bf1 ≈ 1.01% of males
Deuteranopia #0056e8 ≈ 1.27% of males
Tritanopia #535d8b ≈ 0.0001% of males
Protanomaly #0047ef ≈ 1.08% of males
Deuteranomaly #0743ea ≈ 4.63% of males
Tritanomaly #6449ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Indigo
#7802ec  rgb(120, 2, 236)  hsl(270, 98%, 47%)  Electric Indigo
#76ec02  rgb(118, 236, 2)  hsl(90, 98%, 47%)  Lawn Green
#ec7802  rgb(236, 120, 2)  hsl(30, 98%, 47%)  Cadmium Orange
#02ec78  rgb(2, 236, 120)  hsl(150, 98%, 47%)  Spring Green