#7812F2

#7812f2 ≈ Electric Indigo

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

#7812f2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 47.06% red, 7.06% green and 94.9% blue; printed in CMYK it uses 50.41% cyan, 92.56% magenta, 0% yellow and 5.1% black. Its hue angle is 267.32°, with 89.6% saturation and 50.98% 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.63:1 (WCAG AA). The closest named color is Electric Indigo (#6f00ff), ΔE 1.73.

Description generated from the measured properties of this color.

Conversions of #7812f2 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.1084

Readable text 6.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #6949ad ≈ 0.001% of males
Protanopia #005ff7 ≈ 1.01% of males
Deuteranopia #0059ee ≈ 1.27% of males
Tritanopia #4e628f ≈ 0.0001% of males
Protanomaly #004bf5 ≈ 1.08% of males
Deuteranomaly #0046f0 ≈ 4.63% of males
Tritanomaly #624ebf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7812f2 {
  color: #7812f2;
}
Background
.bg-7812f2 {
  background-color: #7812f2;
  color: #ffffff;
}
Border
.border-7812f2 {
  border: 2px solid #7812f2;
}
CSS variables
:root {
  --color-primary: #7812f2;
  --color-primary-rgb: 120 18 242;
  --color-primary-hsl: 267 90% 51%;
}
Gradient
.gradient-7812f2 {
  background: linear-gradient(135deg, #7812f2, #e812f2);
}
Colored shadow
.shadow-7812f2 {
  box-shadow: 0 8px 24px rgb(120 18 242 / 0.35);
}

Electric Indigo
#7812f2  rgb(120, 18, 242)  hsl(267, 90%, 51%)  Electric Indigo
#8cf212  rgb(140, 242, 18)  hsl(87, 90%, 51%)  Lawn Green
#f27812  rgb(242, 120, 18)  hsl(27, 90%, 51%)  Pumpkin
#12f278  rgb(18, 242, 120)  hsl(147, 90%, 51%)  Spring Green