#cdafff
a light, electric violet · warm · closest name: plum
RGB
205, 175, 255
HSL
263°, 100%, 84%
CMYK
20, 31, 0, 0
Luminance
0.5086
Every format
| HEX | #cdafff |
| RGB | rgb(205, 175, 255) |
| HSL | hsl(263, 100%, 84%) |
| CMYK | cmyk(20%, 31%, 0%, 0%) |
| LAB | lab(76.6 26.3 -35.6) |
| LCH | lch(76.6 44.3 306.5) |
| OKLCH | oklch(0.808 0.115 301.1) |
Copy-ready code
/* CSS */
color: #cdafff;
background-color: #cdafff;
/* Tailwind (arbitrary) */
class="text-[#cdafff] bg-[#cdafff]"
/* SCSS */
$brand: #cdafff;
/* SwiftUI */
Color(red: 0.804, green: 0.686, blue: 1.000)
/* Android */
Color.parseColor("#cdafff")Accessibility — WCAG contrast
Aa
#cdafff on white: 1.88:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdafff on black: 11.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green68.6%
Blue100.0%
CMYK percentages
Cyan19.6%
Magenta31.4%
Yellow0.0%
Key (black)0.0%
Color previews
#cdafff text on a black background
contrast 11.17:1
Card sample
#cdafff text on a white background
contrast 1.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdafff;
Background color
Panel with #cdafff background
background-color: #cdafff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdafff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 175, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 175, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdafff; background: linear-gradient(135deg, #cdafff, #FFAFFC);