#c490fd
a light, electric violet · warm · closest name: violet
RGB
196, 144, 253
HSL
269°, 97%, 78%
CMYK
23, 43, 0, 1
Luminance
0.3877
Every format
| HEX | #c490fd |
| RGB | rgb(196, 144, 253) |
| HSL | hsl(269, 97%, 78%) |
| CMYK | cmyk(23%, 43%, 0%, 1%) |
| LAB | lab(68.6 40.3 -47.1) |
| LCH | lch(68.6 62.0 310.5) |
| OKLCH | oklch(0.746 0.160 304.8) |
Copy-ready code
/* CSS */
color: #c490fd;
background-color: #c490fd;
/* Tailwind (arbitrary) */
class="text-[#c490fd] bg-[#c490fd]"
/* SCSS */
$brand: #c490fd;
/* SwiftUI */
Color(red: 0.769, green: 0.565, blue: 0.992)
/* Android */
Color.parseColor("#c490fd")Accessibility — WCAG contrast
Aa
#c490fd on white: 2.40:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c490fd on black: 8.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green56.5%
Blue99.2%
CMYK percentages
Cyan22.5%
Magenta43.1%
Yellow0.0%
Key (black)0.8%
Color previews
#c490fd text on a black background
contrast 8.75:1
Card sample
#c490fd text on a white background
contrast 2.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c490fd;
Background color
Panel with #c490fd background
background-color: #c490fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c490fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 144, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 144, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c490fd; background: linear-gradient(135deg, #c490fd, #FD90ED);