#7D31EA

#7d31ea ≈ Blue Violet

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#7d31ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 49.02% red, 19.22% green and 91.76% blue; printed in CMYK it uses 46.58% cyan, 79.06% magenta, 0% yellow and 8.24% black. Its hue angle is 264.65°, with 81.5% saturation and 55.49% 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:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 2.32.

Description generated from the measured properties of this color.

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

Readable text 6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.5:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6e53aa ≈ 0.001% of males
Protanopia #0065ef ≈ 1.01% of males
Deuteranopia #0060e7 ≈ 1.27% of males
Tritanopia #5c668e ≈ 0.0001% of males
Protanomaly #2655ed ≈ 1.08% of males
Deuteranomaly #3151e8 ≈ 4.63% of males
Tritanomaly #6b56ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7d31ea {
  color: #7d31ea;
}
Background
.bg-7d31ea {
  background-color: #7d31ea;
  color: #ffffff;
}
Border
.border-7d31ea {
  border: 2px solid #7d31ea;
}
CSS variables
:root {
  --color-primary: #7d31ea;
  --color-primary-rgb: 125 49 234;
  --color-primary-hsl: 265 82% 55%;
}
Gradient
.gradient-7d31ea {
  background: linear-gradient(135deg, #7d31ea, #da31ea);
}
Colored shadow
.shadow-7d31ea {
  box-shadow: 0 8px 24px rgb(125 49 234 / 0.35);
}

Blue Violet
#7d31ea  rgb(125, 49, 234)  hsl(265, 82%, 55%)  Blue Violet
#9eea31  rgb(158, 234, 49)  hsl(85, 82%, 55%)  Inchworm
#ea7d31  rgb(234, 125, 49)  hsl(25, 82%, 55%)  Cadmium Orange
#31ea7d  rgb(49, 234, 125)  hsl(145, 82%, 55%)  Medium Spring Green