#902DEC

#902dec ≈ Blue Violet

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

#902dec is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 56.47% red, 17.65% green and 92.55% blue; printed in CMYK it uses 38.98% cyan, 80.93% magenta, 0% yellow and 7.45% black. Its hue angle is 271.1°, with 83.41% saturation and 55.1% 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 5.57:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 1.81.

Description generated from the measured properties of this color.

Conversions of #902dec 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.1386

Readable text 5.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.77:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #7a56ad ≈ 0.001% of males
Protanopia #0067f1 ≈ 1.01% of males
Deuteranopia #0067e8 ≈ 1.27% of males
Tritanopia #7b648f ≈ 0.0001% of males
Protanomaly #4056ef ≈ 1.08% of males
Deuteranomaly #4c55ea ≈ 4.63% of males
Tritanomaly #8453bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-902dec {
  color: #902dec;
}
Background
.bg-902dec {
  background-color: #902dec;
  color: #ffffff;
}
Border
.border-902dec {
  border: 2px solid #902dec;
}
CSS variables
:root {
  --color-primary: #902dec;
  --color-primary-rgb: 144 45 236;
  --color-primary-hsl: 271 83% 55%;
}
Gradient
.gradient-902dec {
  background: linear-gradient(135deg, #902dec, #ec2de9);
}
Colored shadow
.shadow-902dec {
  box-shadow: 0 8px 24px rgb(144 45 236 / 0.35);
}

Blue Violet
#902dec  rgb(144, 45, 236)  hsl(271, 83%, 55%)  Blue Violet
#89ec2d  rgb(137, 236, 45)  hsl(91, 83%, 55%)  Lawn Green
#ec902d  rgb(236, 144, 45)  hsl(31, 83%, 55%)  Carrot Orange
#2dec90  rgb(45, 236, 144)  hsl(151, 83%, 55%)  Medium Spring Green