#ac3ace
a balanced, vivid violet · warm · closest name: purple
RGB
172, 58, 206
HSL
286°, 60%, 52%
CMYK
17, 72, 0, 19
Luminance
0.1625
Every format
| HEX | #ac3ace |
| RGB | rgb(172, 58, 206) |
| HSL | hsl(286, 60%, 52%) |
| CMYK | cmyk(17%, 72%, 0%, 19%) |
| LAB | lab(47.3 66.3 -54.8) |
| LCH | lch(47.3 86.0 320.4) |
| OKLCH | oklch(0.575 0.227 317.2) |
Copy-ready code
/* CSS */
color: #ac3ace;
background-color: #ac3ace;
/* Tailwind (arbitrary) */
class="text-[#ac3ace] bg-[#ac3ace]"
/* SCSS */
$brand: #ac3ace;
/* SwiftUI */
Color(red: 0.675, green: 0.227, blue: 0.808)
/* Android */
Color.parseColor("#ac3ace")Accessibility — WCAG contrast
Aa
#ac3ace on white: 4.94:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac3ace on black: 4.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green22.7%
Blue80.8%
CMYK percentages
Cyan16.5%
Magenta71.8%
Yellow0.0%
Key (black)19.2%
Color previews
#ac3ace text on a black background
contrast 4.25:1
Card sample
#ac3ace text on a white background
contrast 4.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac3ace;
Background color
Panel with #ac3ace background
background-color: #ac3ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac3ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 58, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 58, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac3ace; background: linear-gradient(135deg, #ac3ace, #CE3A8D);