#ccb7eb
a light, vivid violet · warm · closest name: plum
RGB
204, 183, 235
HSL
264°, 57%, 82%
CMYK
13, 22, 0, 8
Luminance
0.5270
Every format
| HEX | #ccb7eb |
| RGB | rgb(204, 183, 235) |
| HSL | hsl(264, 57%, 82%) |
| CMYK | cmyk(13%, 22%, 0%, 8%) |
| LAB | lab(77.7 17.4 -23.1) |
| LCH | lch(77.7 28.9 306.9) |
| OKLCH | oklch(0.814 0.075 303.2) |
Copy-ready code
/* CSS */
color: #ccb7eb;
background-color: #ccb7eb;
/* Tailwind (arbitrary) */
class="text-[#ccb7eb] bg-[#ccb7eb]"
/* SCSS */
$brand: #ccb7eb;
/* SwiftUI */
Color(red: 0.800, green: 0.718, blue: 0.922)
/* Android */
Color.parseColor("#ccb7eb")Accessibility — WCAG contrast
Aa
#ccb7eb on white: 1.82:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccb7eb on black: 11.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green71.8%
Blue92.2%
CMYK percentages
Cyan13.2%
Magenta22.1%
Yellow0.0%
Key (black)7.8%
Color previews
#ccb7eb text on a black background
contrast 11.54:1
Card sample
#ccb7eb text on a white background
contrast 1.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccb7eb;
Background color
Panel with #ccb7eb background
background-color: #ccb7eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccb7eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 183, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 183, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccb7eb; background: linear-gradient(135deg, #ccb7eb, #EBB7E7);