#ccaeff
a light, electric violet · warm · closest name: plum
RGB
204, 174, 255
HSL
262°, 100%, 84%
CMYK
20, 32, 0, 0
Luminance
0.5033
Every format
| HEX | #ccaeff |
| RGB | rgb(204, 174, 255) |
| HSL | hsl(262, 100%, 84%) |
| CMYK | cmyk(20%, 32%, 0%, 0%) |
| LAB | lab(76.3 26.6 -36.1) |
| LCH | lch(76.3 44.9 306.3) |
| OKLCH | oklch(0.806 0.116 300.8) |
Copy-ready code
/* CSS */
color: #ccaeff;
background-color: #ccaeff;
/* Tailwind (arbitrary) */
class="text-[#ccaeff] bg-[#ccaeff]"
/* SCSS */
$brand: #ccaeff;
/* SwiftUI */
Color(red: 0.800, green: 0.682, blue: 1.000)
/* Android */
Color.parseColor("#ccaeff")Accessibility — WCAG contrast
Aa
#ccaeff on white: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccaeff on black: 11.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green68.2%
Blue100.0%
CMYK percentages
Cyan20.0%
Magenta31.8%
Yellow0.0%
Key (black)0.0%
Color previews
#ccaeff text on a black background
contrast 11.07:1
Card sample
#ccaeff text on a white background
contrast 1.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccaeff;
Background color
Panel with #ccaeff background
background-color: #ccaeff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccaeff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 174, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 174, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccaeff; background: linear-gradient(135deg, #ccaeff, #FFAEFC);