#ccafee
a light, vivid violet · warm · closest name: plum
RGB
204, 175, 238
HSL
268°, 65%, 81%
CMYK
14, 27, 0, 7
Luminance
0.4967
Every format
| HEX | #ccafee |
| RGB | rgb(204, 175, 238) |
| HSL | hsl(268, 65%, 81%) |
| CMYK | cmyk(14%, 27%, 0%, 7%) |
| LAB | lab(75.9 22.3 -27.6) |
| LCH | lch(75.9 35.5 309.0) |
| OKLCH | oklch(0.801 0.092 305.4) |
Copy-ready code
/* CSS */
color: #ccafee;
background-color: #ccafee;
/* Tailwind (arbitrary) */
class="text-[#ccafee] bg-[#ccafee]"
/* SCSS */
$brand: #ccafee;
/* SwiftUI */
Color(red: 0.800, green: 0.686, blue: 0.933)
/* Android */
Color.parseColor("#ccafee")Accessibility — WCAG contrast
Aa
#ccafee on white: 1.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccafee on black: 10.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green68.6%
Blue93.3%
CMYK percentages
Cyan14.3%
Magenta26.5%
Yellow0.0%
Key (black)6.7%
Color previews
#ccafee text on a black background
contrast 10.93:1
Card sample
#ccafee text on a white background
contrast 1.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccafee;
Background color
Panel with #ccafee background
background-color: #ccafee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccafee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 175, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 175, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccafee; background: linear-gradient(135deg, #ccafee, #EEAFE6);