#cc79ff
a light, electric violet · warm · closest name: violet
RGB
204, 121, 255
HSL
277°, 100%, 74%
CMYK
20, 53, 0, 0
Luminance
0.3373
Every format
| HEX | #cc79ff |
| RGB | rgb(204, 121, 255) |
| HSL | hsl(277, 100%, 74%) |
| CMYK | cmyk(20%, 53%, 0%, 0%) |
| LAB | lab(64.8 55.0 -54.2) |
| LCH | lch(64.8 77.2 315.4) |
| OKLCH | oklch(0.719 0.201 310.9) |
Copy-ready code
/* CSS */
color: #cc79ff;
background-color: #cc79ff;
/* Tailwind (arbitrary) */
class="text-[#cc79ff] bg-[#cc79ff]"
/* SCSS */
$brand: #cc79ff;
/* SwiftUI */
Color(red: 0.800, green: 0.475, blue: 1.000)
/* Android */
Color.parseColor("#cc79ff")Accessibility — WCAG contrast
Aa
#cc79ff on white: 2.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cc79ff on black: 7.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green47.5%
Blue100.0%
CMYK percentages
Cyan20.0%
Magenta52.5%
Yellow0.0%
Key (black)0.0%
Color previews
#cc79ff text on a black background
contrast 7.75:1
Card sample
#cc79ff text on a white background
contrast 2.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc79ff;
Background color
Panel with #cc79ff background
background-color: #cc79ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc79ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 121, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 121, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc79ff; background: linear-gradient(135deg, #cc79ff, #FF79D9);