#ccafdb
a light, soft violet · warm · closest name: plum
RGB
204, 175, 219
HSL
280°, 38%, 77%
CMYK
7, 20, 0, 14
Luminance
0.4861
Every format
| HEX | #ccafdb |
| RGB | rgb(204, 175, 219) |
| HSL | hsl(280, 38%, 77%) |
| CMYK | cmyk(7%, 20%, 0%, 14%) |
| LAB | lab(75.2 18.4 -18.3) |
| LCH | lch(75.2 25.9 315.3) |
| OKLCH | oklch(0.793 0.069 314.1) |
Copy-ready code
/* CSS */
color: #ccafdb;
background-color: #ccafdb;
/* Tailwind (arbitrary) */
class="text-[#ccafdb] bg-[#ccafdb]"
/* SCSS */
$brand: #ccafdb;
/* SwiftUI */
Color(red: 0.800, green: 0.686, blue: 0.859)
/* Android */
Color.parseColor("#ccafdb")Accessibility — WCAG contrast
Aa
#ccafdb on white: 1.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccafdb on black: 10.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green68.6%
Blue85.9%
CMYK percentages
Cyan6.8%
Magenta20.1%
Yellow0.0%
Key (black)14.1%
Color previews
#ccafdb text on a black background
contrast 10.72:1
Card sample
#ccafdb text on a white background
contrast 1.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccafdb;
Background color
Panel with #ccafdb background
background-color: #ccafdb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccafdb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 175, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 175, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccafdb; background: linear-gradient(135deg, #ccafdb, #DBAFCD);