#A842F0
A light, vivid purple closely aligning with Blueviolet.
About #A842F0
The hex code #A842F0 represents a beautifully specific shade of purple. If you're using CSS, you might find it aligns closely with Blueviolet. Its digital footprint relies on 168 parts red, 66 parts green, and 240 parts blue light.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 30% C, 72% M, 0% Y, and 6% K. The HSL representation is 275.2° hue, 85.3% saturation, and 60.0% lightness.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #000000 typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#A842F0
RGB168, 66, 240
HSL275.2°, 85.3%, 60.0%
CMYK30%, 72%, 0%, 6%
HSV275.2°, 72.5%, 94.1%
LAB50.1, 69.4, -69.6
XYZ33.8, 18.5, 84.2
Decimal11027184
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.47:1
Text on #FFFFFF
AA Large
4.70:1
Text on #000000
AA
4.27:1
Text on #F8FAFC
AA Large
4.00:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #A842F0;
}
.text-color {
color: #A842F0;
}
.border-color {
border: 2px solid #A842F0;
}