#A42CFB

#a42cfb ≈ Vivid Violet

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

#a42cfb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 64.31% red, 17.25% green and 98.43% blue; printed in CMYK it uses 34.66% cyan, 82.47% magenta, 0% yellow and 1.57% black. Its hue angle is 274.78°, with 96.28% saturation and 57.84% 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.85:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 3.11.

Description generated from the measured properties of this color.

Conversions of #a42cfb 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.1666

Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #895db9 ≈ 0.001% of males
Protanopia #006fff ≈ 1.01% of males
Deuteranopia #0071f7 ≈ 1.27% of males
Tritanopia #936798 ≈ 0.0001% of males
Protanomaly #505bfe ≈ 1.08% of males
Deuteranomaly #5e5df9 ≈ 4.63% of males
Tritanomaly #9a56c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a42cfb {
  color: #a42cfb;
}
Background
.bg-a42cfb {
  background-color: #a42cfb;
  color: #ffffff;
}
Border
.border-a42cfb {
  border: 2px solid #a42cfb;
}
CSS variables
:root {
  --color-primary: #a42cfb;
  --color-primary-rgb: 164 44 251;
  --color-primary-hsl: 275 96% 58%;
}
Gradient
.gradient-a42cfb {
  background: linear-gradient(135deg, #a42cfb, #fb2ceb);
}
Colored shadow
.shadow-a42cfb {
  box-shadow: 0 8px 24px rgb(164 44 251 / 0.35);
}

Vivid Violet
#a42cfb  rgb(164, 44, 251)  hsl(275, 96%, 58%)  Vivid Violet
#83fb2c  rgb(131, 251, 44)  hsl(95, 96%, 58%)  Lawn Green
#fba42c  rgb(251, 164, 44)  hsl(35, 96%, 58%)  Orange Peel
#2cfba4  rgb(44, 251, 164)  hsl(155, 96%, 58%)  Medium Spring Green