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