#A331EF

#a331ef ≈ Vivid Violet

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

#a331ef is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 63.92% red, 19.22% green and 93.73% blue; printed in CMYK it uses 31.8% cyan, 79.5% magenta, 0% yellow and 6.27% black. Its hue angle is 276°, with 85.59% saturation and 56.47% 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.95:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 3.53.

Description generated from the measured properties of this color.

Conversions of #a331ef 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.1622

Readable text 4.95:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #875db2 ≈ 0.001% of males
Protanopia #006df4 ≈ 1.01% of males
Deuteranopia #0071eb ≈ 1.27% of males
Tritanopia #966491 ≈ 0.0001% of males
Protanomaly #565af2 ≈ 1.08% of males
Deuteranomaly #635eed ≈ 4.63% of males
Tritanomaly #9b54be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a331ef {
  color: #a331ef;
}
Background
.bg-a331ef {
  background-color: #a331ef;
  color: #ffffff;
}
Border
.border-a331ef {
  border: 2px solid #a331ef;
}
CSS variables
:root {
  --color-primary: #a331ef;
  --color-primary-rgb: 163 49 239;
  --color-primary-hsl: 276 86% 56%;
}
Gradient
.gradient-a331ef {
  background: linear-gradient(135deg, #a331ef, #ef31dc);
}
Colored shadow
.shadow-a331ef {
  box-shadow: 0 8px 24px rgb(163 49 239 / 0.35);
}

Vivid Violet
#a331ef  rgb(163, 49, 239)  hsl(276, 86%, 56%)  Vivid Violet
#7def31  rgb(125, 239, 49)  hsl(96, 86%, 56%)  Lawn Green
#efa331  rgb(239, 163, 49)  hsl(36, 86%, 56%)  Marigold
#31efa3  rgb(49, 239, 163)  hsl(156, 86%, 56%)  Medium Spring Green