#ac4bc9
a balanced, vivid violet · warm · closest name: orchid
RGB
172, 75, 201
HSL
286°, 54%, 54%
CMYK
14, 63, 0, 21
Luminance
0.1802
Every format
| HEX | #ac4bc9 |
| RGB | rgb(172, 75, 201) |
| HSL | hsl(286, 54%, 54%) |
| CMYK | cmyk(14%, 63%, 0%, 21%) |
| LAB | lab(49.5 58.3 -48.4) |
| LCH | lch(49.5 75.7 320.3) |
| OKLCH | oklch(0.590 0.201 317.7) |
Copy-ready code
/* CSS */
color: #ac4bc9;
background-color: #ac4bc9;
/* Tailwind (arbitrary) */
class="text-[#ac4bc9] bg-[#ac4bc9]"
/* SCSS */
$brand: #ac4bc9;
/* SwiftUI */
Color(red: 0.675, green: 0.294, blue: 0.788)
/* Android */
Color.parseColor("#ac4bc9")Accessibility — WCAG contrast
Aa
#ac4bc9 on white: 4.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac4bc9 on black: 4.60:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green29.4%
Blue78.8%
CMYK percentages
Cyan14.4%
Magenta62.7%
Yellow0.0%
Key (black)21.2%
Color previews
#ac4bc9 text on a black background
contrast 4.60:1
Card sample
#ac4bc9 text on a white background
contrast 4.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac4bc9;
Background color
Panel with #ac4bc9 background
background-color: #ac4bc9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac4bc9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 75, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 75, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac4bc9; background: linear-gradient(135deg, #ac4bc9, #C94B92);