#9040FF

#9040ff ≈ Vivid Violet

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#9040ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 56.47% red, 25.1% green and 100% blue; printed in CMYK it uses 43.53% cyan, 74.9% magenta, 0% yellow and 0% black. Its hue angle is 265.13°, with 100% saturation and 62.55% 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 4.81:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 5.08.

Description generated from the measured properties of this color.

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

Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #7f62bc ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #006ffb ≈ 1.27% of males
Tritanopia #72749e ≈ 0.0001% of males
Protanomaly #3d62ff ≈ 1.08% of males
Deuteranomaly #4760fd ≈ 4.63% of males
Tritanomaly #7f63cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9040ff {
  color: #9040ff;
}
Background
.bg-9040ff {
  background-color: #9040ff;
  color: #ffffff;
}
Border
.border-9040ff {
  border: 2px solid #9040ff;
}
CSS variables
:root {
  --color-primary: #9040ff;
  --color-primary-rgb: 144 64 255;
  --color-primary-hsl: 265 100% 63%;
}
Gradient
.gradient-9040ff {
  background: linear-gradient(135deg, #9040ff, #ef40ff);
}
Colored shadow
.shadow-9040ff {
  box-shadow: 0 8px 24px rgb(144 64 255 / 0.35);
}

Vivid Violet
#9040ff  rgb(144, 64, 255)  hsl(265, 100%, 63%)  Vivid Violet
#afff40  rgb(175, 255, 64)  hsl(85, 100%, 63%)  Green Yellow
#ff9040  rgb(255, 144, 64)  hsl(25, 100%, 63%)  Cadmium Orange
#40ff90  rgb(64, 255, 144)  hsl(145, 100%, 63%)  Spring Green