#9540FF

#9540ff ≈ Vivid Violet

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

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

Description generated from the measured properties of this color.

Conversions of #9540ff 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.1728

Readable text 4.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #8263bc ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #0071fb ≈ 1.27% of males
Tritanopia #7a739e ≈ 0.0001% of males
Protanomaly #4463ff ≈ 1.08% of males
Deuteranomaly #4e61fd ≈ 4.63% of males
Tritanomaly #8663cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Vivid Violet
#9540ff  rgb(149, 64, 255)  hsl(267, 100%, 63%)  Vivid Violet
#aaff40  rgb(170, 255, 64)  hsl(87, 100%, 63%)  Green Yellow
#ff9540  rgb(255, 149, 64)  hsl(27, 100%, 63%)  Cadmium Orange
#40ff95  rgb(64, 255, 149)  hsl(147, 100%, 63%)  Medium Spring Green