#cbacf4
a light, electric violet · warm · closest name: plum
RGB
203, 172, 244
HSL
266°, 77%, 82%
CMYK
17, 30, 0, 4
Luminance
0.4873
Every format
| HEX | #cbacf4 |
| RGB | rgb(203, 172, 244) |
| HSL | hsl(266, 77%, 82%) |
| CMYK | cmyk(17%, 30%, 0%, 4%) |
| LAB | lab(75.3 25.0 -31.7) |
| LCH | lch(75.3 40.4 308.2) |
| OKLCH | oklch(0.797 0.105 303.8) |
Copy-ready code
/* CSS */
color: #cbacf4;
background-color: #cbacf4;
/* Tailwind (arbitrary) */
class="text-[#cbacf4] bg-[#cbacf4]"
/* SCSS */
$brand: #cbacf4;
/* SwiftUI */
Color(red: 0.796, green: 0.675, blue: 0.957)
/* Android */
Color.parseColor("#cbacf4")Accessibility — WCAG contrast
Aa
#cbacf4 on white: 1.95:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbacf4 on black: 10.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green67.5%
Blue95.7%
CMYK percentages
Cyan16.8%
Magenta29.5%
Yellow0.0%
Key (black)4.3%
Color previews
#cbacf4 text on a black background
contrast 10.75:1
Card sample
#cbacf4 text on a white background
contrast 1.95:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbacf4;
Background color
Panel with #cbacf4 background
background-color: #cbacf4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbacf4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 172, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 172, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbacf4; background: linear-gradient(135deg, #cbacf4, #F4ACED);