#c366df
a balanced, vivid violet · warm · closest name: orchid
RGB
195, 102, 223
HSL
286°, 65%, 64%
CMYK
13, 54, 0, 13
Luminance
0.2643
Every format
| HEX | #c366df |
| RGB | rgb(195, 102, 223) |
| HSL | hsl(286, 65%, 64%) |
| CMYK | cmyk(13%, 54%, 0%, 13%) |
| LAB | lab(58.5 55.6 -46.5) |
| LCH | lch(58.5 72.5 320.1) |
| OKLCH | oklch(0.665 0.193 317.9) |
Copy-ready code
/* CSS */
color: #c366df;
background-color: #c366df;
/* Tailwind (arbitrary) */
class="text-[#c366df] bg-[#c366df]"
/* SCSS */
$brand: #c366df;
/* SwiftUI */
Color(red: 0.765, green: 0.400, blue: 0.875)
/* Android */
Color.parseColor("#c366df")Accessibility — WCAG contrast
Aa
#c366df on white: 3.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#c366df on black: 6.29:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.5%
Green40.0%
Blue87.5%
CMYK percentages
Cyan12.6%
Magenta54.3%
Yellow0.0%
Key (black)12.5%
Color previews
#c366df text on a black background
contrast 6.29:1
Card sample
#c366df text on a white background
contrast 3.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c366df;
Background color
Panel with #c366df background
background-color: #c366df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c366df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(195, 102, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 102, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c366df; background: linear-gradient(135deg, #c366df, #DF66AA);