#ac4ecc
a balanced, vivid violet · warm · closest name: orchid
RGB
172, 78, 204
HSL
285°, 55%, 55%
CMYK
16, 62, 0, 20
Luminance
0.1858
Every format
| HEX | #ac4ecc |
| RGB | rgb(172, 78, 204) |
| HSL | hsl(285, 55%, 55%) |
| CMYK | cmyk(16%, 62%, 0%, 20%) |
| LAB | lab(50.2 57.5 -49.0) |
| LCH | lch(50.2 75.6 319.6) |
| OKLCH | oklch(0.595 0.200 316.6) |
Copy-ready code
/* CSS */
color: #ac4ecc;
background-color: #ac4ecc;
/* Tailwind (arbitrary) */
class="text-[#ac4ecc] bg-[#ac4ecc]"
/* SCSS */
$brand: #ac4ecc;
/* SwiftUI */
Color(red: 0.675, green: 0.306, blue: 0.800)
/* Android */
Color.parseColor("#ac4ecc")Accessibility — WCAG contrast
Aa
#ac4ecc on white: 4.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ac4ecc on black: 4.72:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green30.6%
Blue80.0%
CMYK percentages
Cyan15.7%
Magenta61.8%
Yellow0.0%
Key (black)20.0%
Color previews
#ac4ecc text on a black background
contrast 4.72:1
Card sample
#ac4ecc text on a white background
contrast 4.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac4ecc;
Background color
Panel with #ac4ecc background
background-color: #ac4ecc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac4ecc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 78, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 78, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac4ecc; background: linear-gradient(135deg, #ac4ecc, #CC4E98);