#A302EC

#a302ec ≈ Vivid Violet

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#a302ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 63.92% red, 0.78% green and 92.55% blue; printed in CMYK it uses 30.93% cyan, 99.15% magenta, 0% yellow and 7.45% black. Its hue angle is 281.28°, with 98.32% saturation and 46.67% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. 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.56: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 #a302ec into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9900ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1389

Readable text 5.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.78:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #8452ad ≈ 0.001% of males
Protanopia #0063f1 ≈ 1.01% of males
Deuteranopia #006ae8 ≈ 1.27% of males
Tritanopia #97578b ≈ 0.0001% of males
Protanomaly #4f4eef ≈ 1.08% of males
Deuteranomaly #5e53ea ≈ 4.63% of males
Tritanomaly #9c44ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Vivid Violet
#a302ec  rgb(163, 2, 236)  hsl(281, 98%, 47%)  Vivid Violet
#4bec02  rgb(75, 236, 2)  hsl(101, 98%, 47%)  Harlequin
#eca302  rgb(236, 163, 2)  hsl(41, 98%, 47%)  Marigold
#02eca3  rgb(2, 236, 163)  hsl(161, 98%, 47%)  Medium Spring Green