#7E40BB

#7e40bb ≈ Dark Orchid

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#7e40bb is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.41% red, 25.1% green and 73.33% blue; printed in CMYK it uses 32.62% cyan, 65.78% magenta, 0% yellow and 26.67% black. Its hue angle is 270.24°, with 49% saturation and 49.22% 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 brand accents. White text on this color reaches a contrast ratio of 6.29:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 5.06.

Description generated from the measured properties of this color.

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

Readable text 6.29: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 #6d558e ≈ 0.001% of males
Protanopia #005fbf ≈ 1.01% of males
Deuteranopia #1560b8 ≈ 1.27% of males
Tritanopia #725b78 ≈ 0.0001% of males
Protanomaly #4d54bd ≈ 1.08% of males
Deuteranomaly #5455b9 ≈ 4.63% of males
Tritanomaly #775297 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e40bb {
  color: #7e40bb;
}
Background
.bg-7e40bb {
  background-color: #7e40bb;
  color: #ffffff;
}
Border
.border-7e40bb {
  border: 2px solid #7e40bb;
}
CSS variables
:root {
  --color-primary: #7e40bb;
  --color-primary-rgb: 126 64 187;
  --color-primary-hsl: 270 49% 49%;
}
Gradient
.gradient-7e40bb {
  background: linear-gradient(135deg, #7e40bb, #bb40bb);
}
Colored shadow
.shadow-7e40bb {
  box-shadow: 0 8px 24px rgb(126 64 187 / 0.35);
}

Dark Orchid
#7e40bb  rgb(126, 64, 187)  hsl(270, 49%, 49%)  Dark Orchid
#7dbb40  rgb(125, 187, 64)  hsl(90, 49%, 49%)  Kelly Green
#bb7e40  rgb(187, 126, 64)  hsl(30, 49%, 49%)  Copper
#40bb7e  rgb(64, 187, 126)  hsl(150, 49%, 49%)  Medium Sea Green