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