#c48af4
a light, electric violet · warm · closest name: violet
RGB
196, 138, 244
HSL
273°, 83%, 75%
CMYK
20, 43, 0, 4
Luminance
0.3644
Every format
| HEX | #c48af4 |
| RGB | rgb(196, 138, 244) |
| HSL | hsl(273, 83%, 75%) |
| CMYK | cmyk(20%, 43%, 0%, 4%) |
| LAB | lab(66.9 41.5 -44.9) |
| LCH | lch(66.9 61.1 312.8) |
| OKLCH | oklch(0.731 0.159 308.2) |
Copy-ready code
/* CSS */
color: #c48af4;
background-color: #c48af4;
/* Tailwind (arbitrary) */
class="text-[#c48af4] bg-[#c48af4]"
/* SCSS */
$brand: #c48af4;
/* SwiftUI */
Color(red: 0.769, green: 0.541, blue: 0.957)
/* Android */
Color.parseColor("#c48af4")Accessibility — WCAG contrast
Aa
#c48af4 on white: 2.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c48af4 on black: 8.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green54.1%
Blue95.7%
CMYK percentages
Cyan19.7%
Magenta43.4%
Yellow0.0%
Key (black)4.3%
Color previews
#c48af4 text on a black background
contrast 8.29:1
Card sample
#c48af4 text on a white background
contrast 2.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c48af4;
Background color
Panel with #c48af4 background
background-color: #c48af4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c48af4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 138, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 138, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c48af4; background: linear-gradient(135deg, #c48af4, #F48ADD);