#c178df
a light, vivid violet · warm · closest name: orchid
RGB
193, 120, 223
HSL
283°, 62%, 67%
CMYK
14, 46, 0, 13
Luminance
0.3010
Every format
| HEX | #c178df |
| RGB | rgb(193, 120, 223) |
| HSL | hsl(283, 62%, 67%) |
| CMYK | cmyk(14%, 46%, 0%, 13%) |
| LAB | lab(61.7 45.8 -41.3) |
| LCH | lch(61.7 61.7 318.0) |
| OKLCH | oklch(0.689 0.163 315.4) |
Copy-ready code
/* CSS */
color: #c178df;
background-color: #c178df;
/* Tailwind (arbitrary) */
class="text-[#c178df] bg-[#c178df]"
/* SCSS */
$brand: #c178df;
/* SwiftUI */
Color(red: 0.757, green: 0.471, blue: 0.875)
/* Android */
Color.parseColor("#c178df")Accessibility — WCAG contrast
Aa
#c178df on white: 2.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c178df on black: 7.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green47.1%
Blue87.5%
CMYK percentages
Cyan13.5%
Magenta46.2%
Yellow0.0%
Key (black)12.5%
Color previews
#c178df text on a black background
contrast 7.02:1
Card sample
#c178df text on a white background
contrast 2.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c178df;
Background color
Panel with #c178df background
background-color: #c178df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c178df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 120, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 120, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c178df; background: linear-gradient(135deg, #c178df, #DF78B8);