#cc7ce2
a light, vivid violet · warm · closest name: orchid
RGB
204, 124, 226
HSL
287°, 64%, 69%
CMYK
10, 45, 0, 11
Luminance
0.3274
Every format
| HEX | #cc7ce2 |
| RGB | rgb(204, 124, 226) |
| HSL | hsl(287, 64%, 69%) |
| CMYK | cmyk(10%, 45%, 0%, 11%) |
| LAB | lab(64.0 47.5 -39.4) |
| LCH | lch(64.0 61.7 320.3) |
| OKLCH | oklch(0.709 0.165 318.7) |
Copy-ready code
/* CSS */
color: #cc7ce2;
background-color: #cc7ce2;
/* Tailwind (arbitrary) */
class="text-[#cc7ce2] bg-[#cc7ce2]"
/* SCSS */
$brand: #cc7ce2;
/* SwiftUI */
Color(red: 0.800, green: 0.486, blue: 0.886)
/* Android */
Color.parseColor("#cc7ce2")Accessibility — WCAG contrast
Aa
#cc7ce2 on white: 2.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cc7ce2 on black: 7.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green48.6%
Blue88.6%
CMYK percentages
Cyan9.7%
Magenta45.1%
Yellow0.0%
Key (black)11.4%
Color previews
#cc7ce2 text on a black background
contrast 7.55:1
Card sample
#cc7ce2 text on a white background
contrast 2.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc7ce2;
Background color
Panel with #cc7ce2 background
background-color: #cc7ce2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc7ce2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 124, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 124, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc7ce2; background: linear-gradient(135deg, #cc7ce2, #E27CB4);