#ac3def
a balanced, electric violet · warm · closest name: magenta
RGB
172, 61, 239
HSL
277°, 85%, 59%
CMYK
28, 75, 0, 6
Luminance
0.1834
Every format
| HEX | #ac3def |
| RGB | rgb(172, 61, 239) |
| HSL | hsl(277, 85%, 59%) |
| CMYK | cmyk(28%, 75%, 0%, 6%) |
| LAB | lab(49.9 71.8 -69.3) |
| LCH | lch(49.9 99.8 316.0) |
| OKLCH | oklch(0.600 0.253 309.0) |
Copy-ready code
/* CSS */
color: #ac3def;
background-color: #ac3def;
/* Tailwind (arbitrary) */
class="text-[#ac3def] bg-[#ac3def]"
/* SCSS */
$brand: #ac3def;
/* SwiftUI */
Color(red: 0.675, green: 0.239, blue: 0.937)
/* Android */
Color.parseColor("#ac3def")Accessibility — WCAG contrast
Aa
#ac3def on white: 4.50:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac3def on black: 4.67:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green23.9%
Blue93.7%
CMYK percentages
Cyan28.0%
Magenta74.5%
Yellow0.0%
Key (black)6.3%
Color previews
#ac3def text on a black background
contrast 4.67:1
Card sample
#ac3def text on a white background
contrast 4.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac3def;
Background color
Panel with #ac3def background
background-color: #ac3def;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac3def;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 61, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 61, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac3def; background: linear-gradient(135deg, #ac3def, #EF3DBB);