#c17eee
a light, electric violet · warm · closest name: orchid
RGB
193, 126, 238
HSL
276°, 77%, 71%
CMYK
19, 47, 0, 7
Luminance
0.3243
Every format
| HEX | #c17eee |
| RGB | rgb(193, 126, 238) |
| HSL | hsl(276, 77%, 71%) |
| CMYK | cmyk(19%, 47%, 0%, 7%) |
| LAB | lab(63.7 45.8 -46.6) |
| LCH | lch(63.7 65.3 314.5) |
| OKLCH | oklch(0.706 0.170 310.3) |
Copy-ready code
/* CSS */
color: #c17eee;
background-color: #c17eee;
/* Tailwind (arbitrary) */
class="text-[#c17eee] bg-[#c17eee]"
/* SCSS */
$brand: #c17eee;
/* SwiftUI */
Color(red: 0.757, green: 0.494, blue: 0.933)
/* Android */
Color.parseColor("#c17eee")Accessibility — WCAG contrast
Aa
#c17eee on white: 2.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c17eee on black: 7.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green49.4%
Blue93.3%
CMYK percentages
Cyan18.9%
Magenta47.1%
Yellow0.0%
Key (black)6.7%
Color previews
#c17eee text on a black background
contrast 7.49:1
Card sample
#c17eee text on a white background
contrast 2.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c17eee;
Background color
Panel with #c17eee background
background-color: #c17eee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c17eee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 126, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 126, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c17eee; background: linear-gradient(135deg, #c17eee, #EE7ED0);