#ac49df
a balanced, vivid violet · warm · closest name: slateblue
RGB
172, 73, 223
HSL
280°, 70%, 58%
CMYK
23, 67, 0, 13
Luminance
0.1886
Every format
| HEX | #ac49df |
| RGB | rgb(172, 73, 223) |
| HSL | hsl(280, 70%, 58%) |
| CMYK | cmyk(23%, 67%, 0%, 13%) |
| LAB | lab(50.5 63.6 -59.3) |
| LCH | lch(50.5 87.0 317.0) |
| OKLCH | oklch(0.601 0.225 311.8) |
Copy-ready code
/* CSS */
color: #ac49df;
background-color: #ac49df;
/* Tailwind (arbitrary) */
class="text-[#ac49df] bg-[#ac49df]"
/* SCSS */
$brand: #ac49df;
/* SwiftUI */
Color(red: 0.675, green: 0.286, blue: 0.875)
/* Android */
Color.parseColor("#ac49df")Accessibility — WCAG contrast
Aa
#ac49df on white: 4.40:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ac49df on black: 4.77:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green28.6%
Blue87.5%
CMYK percentages
Cyan22.9%
Magenta67.3%
Yellow0.0%
Key (black)12.5%
Color previews
#ac49df text on a black background
contrast 4.77:1
Card sample
#ac49df text on a white background
contrast 4.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac49df;
Background color
Panel with #ac49df background
background-color: #ac49df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac49df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 73, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 73, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac49df; background: linear-gradient(135deg, #ac49df, #DF49AE);