#ad4cf3
a balanced, electric violet · warm · closest name: slateblue
RGB
173, 76, 243
HSL
275°, 87%, 63%
CMYK
29, 69, 0, 5
Luminance
0.2052
Every format
| HEX | #ad4cf3 |
| RGB | rgb(173, 76, 243) |
| HSL | hsl(275, 87%, 63%) |
| CMYK | cmyk(29%, 69%, 0%, 5%) |
| LAB | lab(52.4 66.8 -67.5) |
| LCH | lch(52.4 95.0 314.7) |
| OKLCH | oklch(0.619 0.241 307.3) |
Copy-ready code
/* CSS */
color: #ad4cf3;
background-color: #ad4cf3;
/* Tailwind (arbitrary) */
class="text-[#ad4cf3] bg-[#ad4cf3]"
/* SCSS */
$brand: #ad4cf3;
/* SwiftUI */
Color(red: 0.678, green: 0.298, blue: 0.953)
/* Android */
Color.parseColor("#ad4cf3")Accessibility — WCAG contrast
Aa
#ad4cf3 on white: 4.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ad4cf3 on black: 5.10:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green29.8%
Blue95.3%
CMYK percentages
Cyan28.8%
Magenta68.7%
Yellow0.0%
Key (black)4.7%
Color previews
#ad4cf3 text on a black background
contrast 5.10:1
Card sample
#ad4cf3 text on a white background
contrast 4.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad4cf3;
Background color
Panel with #ad4cf3 background
background-color: #ad4cf3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad4cf3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 76, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 76, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad4cf3; background: linear-gradient(135deg, #ad4cf3, #F34CC9);