#ac3fcc
a balanced, vivid violet · warm · closest name: purple
RGB
172, 63, 204
HSL
286°, 58%, 52%
CMYK
16, 69, 0, 20
Luminance
0.1669
Every format
| HEX | #ac3fcc |
| RGB | rgb(172, 63, 204) |
| HSL | hsl(286, 58%, 52%) |
| CMYK | cmyk(16%, 69%, 0%, 20%) |
| LAB | lab(47.9 64.0 -52.7) |
| LCH | lch(47.9 82.9 320.5) |
| OKLCH | oklch(0.579 0.219 317.5) |
Copy-ready code
/* CSS */
color: #ac3fcc;
background-color: #ac3fcc;
/* Tailwind (arbitrary) */
class="text-[#ac3fcc] bg-[#ac3fcc]"
/* SCSS */
$brand: #ac3fcc;
/* SwiftUI */
Color(red: 0.675, green: 0.247, blue: 0.800)
/* Android */
Color.parseColor("#ac3fcc")Accessibility — WCAG contrast
Aa
#ac3fcc on white: 4.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac3fcc on black: 4.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green24.7%
Blue80.0%
CMYK percentages
Cyan15.7%
Magenta69.1%
Yellow0.0%
Key (black)20.0%
Color previews
#ac3fcc text on a black background
contrast 4.34:1
Card sample
#ac3fcc text on a white background
contrast 4.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac3fcc;
Background color
Panel with #ac3fcc background
background-color: #ac3fcc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac3fcc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 63, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 63, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac3fcc; background: linear-gradient(135deg, #ac3fcc, #CC3F8E);