#A31BEC

#a31bec ≈ Vivid Violet

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#a31bec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 63.92% red, 10.59% green and 92.55% blue; printed in CMYK it uses 30.93% cyan, 88.56% magenta, 0% yellow and 7.45% black. Its hue angle is 279.04°, with 84.62% saturation and 51.57% 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.35:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.42.

Description generated from the measured properties of this color.

Conversions of #a31bec 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.1463

Readable text 5.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #8556ae ≈ 0.001% of males
Protanopia #0066f1 ≈ 1.01% of males
Deuteranopia #006ce8 ≈ 1.27% of males
Tritanopia #975b8c ≈ 0.0001% of males
Protanomaly #5252ef ≈ 1.08% of males
Deuteranomaly #6057ea ≈ 4.63% of males
Tritanomaly #9c4abb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a31bec {
  color: #a31bec;
}
Background
.bg-a31bec {
  background-color: #a31bec;
  color: #ffffff;
}
Border
.border-a31bec {
  border: 2px solid #a31bec;
}
CSS variables
:root {
  --color-primary: #a31bec;
  --color-primary-rgb: 163 27 236;
  --color-primary-hsl: 279 85% 52%;
}
Gradient
.gradient-a31bec {
  background: linear-gradient(135deg, #a31bec, #ec1bcd);
}
Colored shadow
.shadow-a31bec {
  box-shadow: 0 8px 24px rgb(163 27 236 / 0.35);
}

Vivid Violet
#a31bec  rgb(163, 27, 236)  hsl(279, 85%, 52%)  Vivid Violet
#64ec1b  rgb(100, 236, 27)  hsl(99, 85%, 52%)  Lawn Green
#eca31b  rgb(236, 163, 27)  hsl(39, 85%, 52%)  Marigold
#1beca3  rgb(27, 236, 163)  hsl(159, 85%, 52%)  Medium Spring Green