#c657ff
a light, electric violet · warm · closest name: magenta
RGB
198, 87, 255
HSL
280°, 100%, 67%
CMYK
22, 66, 0, 0
Luminance
0.2604
Every format
| HEX | #c657ff |
| RGB | rgb(198, 87, 255) |
| HSL | hsl(280, 100%, 67%) |
| CMYK | cmyk(22%, 66%, 0%, 0%) |
| LAB | lab(58.1 69.7 -64.9) |
| LCH | lch(58.1 95.2 317.0) |
| OKLCH | oklch(0.669 0.246 311.9) |
Copy-ready code
/* CSS */
color: #c657ff;
background-color: #c657ff;
/* Tailwind (arbitrary) */
class="text-[#c657ff] bg-[#c657ff]"
/* SCSS */
$brand: #c657ff;
/* SwiftUI */
Color(red: 0.776, green: 0.341, blue: 1.000)
/* Android */
Color.parseColor("#c657ff")Accessibility — WCAG contrast
Aa
#c657ff on white: 3.38:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#c657ff on black: 6.21:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red77.6%
Green34.1%
Blue100.0%
CMYK percentages
Cyan22.4%
Magenta65.9%
Yellow0.0%
Key (black)0.0%
Color previews
#c657ff text on a black background
contrast 6.21:1
Card sample
#c657ff text on a white background
contrast 3.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c657ff;
Background color
Panel with #c657ff background
background-color: #c657ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c657ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(198, 87, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(198, 87, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c657ff; background: linear-gradient(135deg, #c657ff, #FF57C8);