#A304FF

#a304ff ≈ Vivid Violet

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

#a304ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 63.92% red, 1.57% green and 100% blue; printed in CMYK it uses 36.08% cyan, 98.43% magenta, 0% yellow and 0% black. Its hue angle is 278.01°, with 100% saturation and 50.78% 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.23:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 0.76.

Description generated from the measured properties of this color.

Conversions of #a304ff 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.1509

Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #8655ba ≈ 0.001% of males
Protanopia #0069ff ≈ 1.01% of males
Deuteranopia #006cfb ≈ 1.27% of males
Tritanopia #906196 ≈ 0.0001% of males
Protanomaly #4453ff ≈ 1.08% of males
Deuteranomaly #5555fd ≈ 4.63% of males
Tritanomaly #984cc9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a304ff {
  color: #a304ff;
}
Background
.bg-a304ff {
  background-color: #a304ff;
  color: #ffffff;
}
Border
.border-a304ff {
  border: 2px solid #a304ff;
}
CSS variables
:root {
  --color-primary: #a304ff;
  --color-primary-rgb: 163 4 255;
  --color-primary-hsl: 278 100% 51%;
}
Gradient
.gradient-a304ff {
  background: linear-gradient(135deg, #a304ff, #ff04dd);
}
Colored shadow
.shadow-a304ff {
  box-shadow: 0 8px 24px rgb(163 4 255 / 0.35);
}

Vivid Violet
#a304ff  rgb(163, 4, 255)  hsl(278, 100%, 51%)  Vivid Violet
#60ff04  rgb(96, 255, 4)  hsl(98, 100%, 51%)  Harlequin
#ffa304  rgb(255, 163, 4)  hsl(38, 100%, 51%)  Orange
#04ffa3  rgb(4, 255, 163)  hsl(158, 100%, 51%)  Medium Spring Green