#dcccfa
a pale, electric violet · warm · closest name: lavender
RGB
220, 204, 250
HSL
261°, 82%, 89%
CMYK
12, 18, 0, 2
Luminance
0.6530
Every format
| HEX | #dcccfa |
| RGB | rgb(220, 204, 250) |
| HSL | hsl(261, 82%, 89%) |
| CMYK | cmyk(12%, 18%, 0%, 2%) |
| LAB | lab(84.6 14.2 -20.5) |
| LCH | lch(84.6 24.9 304.7) |
| OKLCH | oklch(0.873 0.065 300.9) |
Copy-ready code
/* CSS */
color: #dcccfa;
background-color: #dcccfa;
/* Tailwind (arbitrary) */
class="text-[#dcccfa] bg-[#dcccfa]"
/* SCSS */
$brand: #dcccfa;
/* SwiftUI */
Color(red: 0.863, green: 0.800, blue: 0.980)
/* Android */
Color.parseColor("#dcccfa")Accessibility — WCAG contrast
Aa
#dcccfa on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dcccfa on black: 14.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red86.3%
Green80.0%
Blue98.0%
CMYK percentages
Cyan12.0%
Magenta18.4%
Yellow0.0%
Key (black)2.0%
Color previews
#dcccfa text on a black background
contrast 14.06:1
Card sample
#dcccfa text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dcccfa;
Background color
Panel with #dcccfa background
background-color: #dcccfa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dcccfa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(220, 204, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 204, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcccfa; background: linear-gradient(135deg, #dcccfa, #FACCF9);