#cca7fd
a light, electric violet · warm · closest name: plum
RGB
204, 167, 253
HSL
266°, 96%, 82%
CMYK
19, 34, 0, 1
Luminance
0.4757
Every format
| HEX | #cca7fd |
| RGB | rgb(204, 167, 253) |
| HSL | hsl(266, 96%, 82%) |
| CMYK | cmyk(19%, 34%, 0%, 1%) |
| LAB | lab(74.5 30.0 -37.7) |
| LCH | lch(74.5 48.2 308.5) |
| OKLCH | oklch(0.792 0.125 303.4) |
Copy-ready code
/* CSS */
color: #cca7fd;
background-color: #cca7fd;
/* Tailwind (arbitrary) */
class="text-[#cca7fd] bg-[#cca7fd]"
/* SCSS */
$brand: #cca7fd;
/* SwiftUI */
Color(red: 0.800, green: 0.655, blue: 0.992)
/* Android */
Color.parseColor("#cca7fd")Accessibility — WCAG contrast
Aa
#cca7fd on white: 2.00:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cca7fd on black: 10.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green65.5%
Blue99.2%
CMYK percentages
Cyan19.4%
Magenta34.0%
Yellow0.0%
Key (black)0.8%
Color previews
#cca7fd text on a black background
contrast 10.51:1
Card sample
#cca7fd text on a white background
contrast 2.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cca7fd;
Background color
Panel with #cca7fd background
background-color: #cca7fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cca7fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 167, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 167, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cca7fd; background: linear-gradient(135deg, #cca7fd, #FDA7F5);