#ac9df4
a light, electric blue · warm · closest name: plum
RGB
172, 157, 244
HSL
250°, 80%, 79%
CMYK
30, 36, 0, 4
Luminance
0.3942
Every format
| HEX | #ac9df4 |
| RGB | rgb(172, 157, 244) |
| HSL | hsl(250, 80%, 79%) |
| CMYK | cmyk(30%, 36%, 0%, 4%) |
| LAB | lab(69.0 24.2 -41.6) |
| LCH | lch(69.0 48.1 300.2) |
| OKLCH | oklch(0.743 0.124 291.0) |
Copy-ready code
/* CSS */
color: #ac9df4;
background-color: #ac9df4;
/* Tailwind (arbitrary) */
class="text-[#ac9df4] bg-[#ac9df4]"
/* SCSS */
$brand: #ac9df4;
/* SwiftUI */
Color(red: 0.675, green: 0.616, blue: 0.957)
/* Android */
Color.parseColor("#ac9df4")Accessibility — WCAG contrast
Aa
#ac9df4 on white: 2.36:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ac9df4 on black: 8.88:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green61.6%
Blue95.7%
CMYK percentages
Cyan29.5%
Magenta35.7%
Yellow0.0%
Key (black)4.3%
Color previews
#ac9df4 text on a black background
contrast 8.88:1
Card sample
#ac9df4 text on a white background
contrast 2.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac9df4;
Background color
Panel with #ac9df4 background
background-color: #ac9df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac9df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 157, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 157, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac9df4; background: linear-gradient(135deg, #ac9df4, #E69DF4);