#cbbaf0
a light, vivid violet · warm · closest name: plum
RGB
203, 186, 240
HSL
259°, 64%, 84%
CMYK
15, 23, 0, 6
Luminance
0.5411
Every format
| HEX | #cbbaf0 |
| RGB | rgb(203, 186, 240) |
| HSL | hsl(259, 64%, 84%) |
| CMYK | cmyk(15%, 23%, 0%, 6%) |
| LAB | lab(78.5 16.5 -24.6) |
| LCH | lch(78.5 29.6 303.8) |
| OKLCH | oklch(0.821 0.077 299.1) |
Copy-ready code
/* CSS */
color: #cbbaf0;
background-color: #cbbaf0;
/* Tailwind (arbitrary) */
class="text-[#cbbaf0] bg-[#cbbaf0]"
/* SCSS */
$brand: #cbbaf0;
/* SwiftUI */
Color(red: 0.796, green: 0.729, blue: 0.941)
/* Android */
Color.parseColor("#cbbaf0")Accessibility — WCAG contrast
Aa
#cbbaf0 on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbbaf0 on black: 11.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green72.9%
Blue94.1%
CMYK percentages
Cyan15.4%
Magenta22.5%
Yellow0.0%
Key (black)5.9%
Color previews
#cbbaf0 text on a black background
contrast 11.82:1
Card sample
#cbbaf0 text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbbaf0;
Background color
Panel with #cbbaf0 background
background-color: #cbbaf0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbbaf0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 186, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 186, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbbaf0; background: linear-gradient(135deg, #cbbaf0, #EFBAF0);