#dcccff
a pale, electric violet · warm · closest name: lavender
RGB
220, 204, 255
HSL
259°, 100%, 90%
CMYK
14, 20, 0, 0
Luminance
0.6562
Every format
| HEX | #dcccff |
| RGB | rgb(220, 204, 255) |
| HSL | hsl(259, 100%, 90%) |
| CMYK | cmyk(14%, 20%, 0%, 0%) |
| LAB | lab(84.8 15.2 -22.9) |
| LCH | lch(84.8 27.5 303.6) |
| OKLCH | oklch(0.875 0.071 299.3) |
Copy-ready code
/* CSS */
color: #dcccff;
background-color: #dcccff;
/* Tailwind (arbitrary) */
class="text-[#dcccff] bg-[#dcccff]"
/* SCSS */
$brand: #dcccff;
/* SwiftUI */
Color(red: 0.863, green: 0.800, blue: 1.000)
/* Android */
Color.parseColor("#dcccff")Accessibility — WCAG contrast
Aa
#dcccff on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dcccff on black: 14.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red86.3%
Green80.0%
Blue100.0%
CMYK percentages
Cyan13.7%
Magenta20.0%
Yellow0.0%
Key (black)0.0%
Color previews
#dcccff text on a black background
contrast 14.12:1
Card sample
#dcccff text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dcccff;
Background color
Panel with #dcccff background
background-color: #dcccff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dcccff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(220, 204, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 204, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcccff; background: linear-gradient(135deg, #dcccff, #FECCFF);