#A304FA

#a304fa ≈ Vivid Violet

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

#a304fa 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 98.04% blue; printed in CMYK it uses 34.8% cyan, 98.4% magenta, 0% yellow and 1.96% black. Its hue angle is 278.78°, with 96.85% saturation and 49.8% 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.31:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 0.86.

Description generated from the measured properties of this color.

Conversions of #a304fa 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.1478

Readable text 5.31:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #8554b7 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #006cf6 ≈ 1.27% of males
Tritanopia #925f93 ≈ 0.0001% of males
Protanomaly #4751fd ≈ 1.08% of males
Deuteranomaly #5854f8 ≈ 4.63% of males
Tritanomaly #994ac5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a304fa {
  color: #a304fa;
}
Background
.bg-a304fa {
  background-color: #a304fa;
  color: #ffffff;
}
Border
.border-a304fa {
  border: 2px solid #a304fa;
}
CSS variables
:root {
  --color-primary: #a304fa;
  --color-primary-rgb: 163 4 250;
  --color-primary-hsl: 279 97% 50%;
}
Gradient
.gradient-a304fa {
  background: linear-gradient(135deg, #a304fa, #fa04d6);
}
Colored shadow
.shadow-a304fa {
  box-shadow: 0 8px 24px rgb(163 4 250 / 0.35);
}

Vivid Violet
#a304fa  rgb(163, 4, 250)  hsl(279, 97%, 50%)  Vivid Violet
#5bfa04  rgb(91, 250, 4)  hsl(99, 97%, 50%)  Harlequin
#faa304  rgb(250, 163, 4)  hsl(39, 97%, 50%)  Orange
#04faa3  rgb(4, 250, 163)  hsl(159, 97%, 50%)  Medium Spring Green