#c478df
a light, vivid violet · warm · closest name: orchid
RGB
196, 120, 223
HSL
284°, 62%, 67%
CMYK
12, 46, 0, 13
Luminance
0.3050
Every format
| HEX | #c478df |
| RGB | rgb(196, 120, 223) |
| HSL | hsl(284, 62%, 67%) |
| CMYK | cmyk(12%, 46%, 0%, 13%) |
| LAB | lab(62.1 46.7 -40.8) |
| LCH | lch(62.1 62.0 318.9) |
| OKLCH | oklch(0.692 0.165 316.7) |
Copy-ready code
/* CSS */
color: #c478df;
background-color: #c478df;
/* Tailwind (arbitrary) */
class="text-[#c478df] bg-[#c478df]"
/* SCSS */
$brand: #c478df;
/* SwiftUI */
Color(red: 0.769, green: 0.471, blue: 0.875)
/* Android */
Color.parseColor("#c478df")Accessibility — WCAG contrast
Aa
#c478df on white: 2.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c478df on black: 7.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green47.1%
Blue87.5%
CMYK percentages
Cyan12.1%
Magenta46.2%
Yellow0.0%
Key (black)12.5%
Color previews
#c478df text on a black background
contrast 7.10:1
Card sample
#c478df text on a white background
contrast 2.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c478df;
Background color
Panel with #c478df background
background-color: #c478df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c478df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 120, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 120, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c478df; background: linear-gradient(135deg, #c478df, #DF78B5);