#cdb8ff
a pale, electric violet · warm · closest name: plum
RGB
205, 184, 255
HSL
258°, 100%, 86%
CMYK
20, 28, 0, 0
Luminance
0.5448
Every format
| HEX | #cdb8ff |
| RGB | rgb(205, 184, 255) |
| HSL | hsl(258, 100%, 86%) |
| CMYK | cmyk(20%, 28%, 0%, 0%) |
| LAB | lab(78.7 21.4 -32.3) |
| LCH | lch(78.7 38.8 303.6) |
| OKLCH | oklch(0.825 0.100 297.7) |
Copy-ready code
/* CSS */
color: #cdb8ff;
background-color: #cdb8ff;
/* Tailwind (arbitrary) */
class="text-[#cdb8ff] bg-[#cdb8ff]"
/* SCSS */
$brand: #cdb8ff;
/* SwiftUI */
Color(red: 0.804, green: 0.722, blue: 1.000)
/* Android */
Color.parseColor("#cdb8ff")Accessibility — WCAG contrast
Aa
#cdb8ff on white: 1.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdb8ff on black: 11.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green72.2%
Blue100.0%
CMYK percentages
Cyan19.6%
Magenta27.8%
Yellow0.0%
Key (black)0.0%
Color previews
#cdb8ff text on a black background
contrast 11.90:1
Card sample
#cdb8ff text on a white background
contrast 1.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdb8ff;
Background color
Panel with #cdb8ff background
background-color: #cdb8ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdb8ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 184, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 184, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdb8ff; background: linear-gradient(135deg, #cdb8ff, #FCB8FF);