#c664df
a balanced, vivid violet · warm · closest name: orchid
RGB
198, 100, 223
HSL
288°, 66%, 63%
CMYK
11, 55, 0, 13
Luminance
0.2645
Every format
| HEX | #c664df |
| RGB | rgb(198, 100, 223) |
| HSL | hsl(288, 66%, 63%) |
| CMYK | cmyk(11%, 55%, 0%, 13%) |
| LAB | lab(58.5 57.3 -46.5) |
| LCH | lch(58.5 73.8 321.0) |
| OKLCH | oklch(0.666 0.197 319.1) |
Copy-ready code
/* CSS */
color: #c664df;
background-color: #c664df;
/* Tailwind (arbitrary) */
class="text-[#c664df] bg-[#c664df]"
/* SCSS */
$brand: #c664df;
/* SwiftUI */
Color(red: 0.776, green: 0.392, blue: 0.875)
/* Android */
Color.parseColor("#c664df")Accessibility — WCAG contrast
Aa
#c664df on white: 3.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#c664df on black: 6.29:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red77.6%
Green39.2%
Blue87.5%
CMYK percentages
Cyan11.2%
Magenta55.2%
Yellow0.0%
Key (black)12.5%
Color previews
#c664df text on a black background
contrast 6.29:1
Card sample
#c664df text on a white background
contrast 3.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c664df;
Background color
Panel with #c664df background
background-color: #c664df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c664df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(198, 100, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(198, 100, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c664df; background: linear-gradient(135deg, #c664df, #DF64A6);