#ccabdf
a light, soft violet · warm · closest name: plum
RGB
204, 171, 223
HSL
278°, 45%, 77%
CMYK
9, 23, 0, 13
Luminance
0.4729
Every format
| HEX | #ccabdf |
| RGB | rgb(204, 171, 223) |
| HSL | hsl(278, 45%, 77%) |
| CMYK | cmyk(9%, 23%, 0%, 13%) |
| LAB | lab(74.4 21.4 -21.7) |
| LCH | lch(74.4 30.5 314.6) |
| OKLCH | oklch(0.787 0.081 313.0) |
Copy-ready code
/* CSS */
color: #ccabdf;
background-color: #ccabdf;
/* Tailwind (arbitrary) */
class="text-[#ccabdf] bg-[#ccabdf]"
/* SCSS */
$brand: #ccabdf;
/* SwiftUI */
Color(red: 0.800, green: 0.671, blue: 0.875)
/* Android */
Color.parseColor("#ccabdf")Accessibility — WCAG contrast
Aa
#ccabdf on white: 2.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccabdf on black: 10.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green67.1%
Blue87.5%
CMYK percentages
Cyan8.5%
Magenta23.3%
Yellow0.0%
Key (black)12.5%
Color previews
#ccabdf text on a black background
contrast 10.46:1
Card sample
#ccabdf text on a white background
contrast 2.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccabdf;
Background color
Panel with #ccabdf background
background-color: #ccabdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccabdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 171, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 171, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccabdf; background: linear-gradient(135deg, #ccabdf, #DFABCF);