#cbacf9
a light, electric violet · warm · closest name: plum
RGB
203, 172, 249
HSL
264°, 87%, 83%
CMYK
19, 31, 0, 2
Luminance
0.4904
Every format
| HEX | #cbacf9 |
| RGB | rgb(203, 172, 249) |
| HSL | hsl(264, 87%, 83%) |
| CMYK | cmyk(19%, 31%, 0%, 2%) |
| LAB | lab(75.5 26.1 -34.1) |
| LCH | lch(75.5 42.9 307.4) |
| OKLCH | oklch(0.799 0.111 302.4) |
Copy-ready code
/* CSS */
color: #cbacf9;
background-color: #cbacf9;
/* Tailwind (arbitrary) */
class="text-[#cbacf9] bg-[#cbacf9]"
/* SCSS */
$brand: #cbacf9;
/* SwiftUI */
Color(red: 0.796, green: 0.675, blue: 0.976)
/* Android */
Color.parseColor("#cbacf9")Accessibility — WCAG contrast
Aa
#cbacf9 on white: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbacf9 on black: 10.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green67.5%
Blue97.6%
CMYK percentages
Cyan18.5%
Magenta30.9%
Yellow0.0%
Key (black)2.4%
Color previews
#cbacf9 text on a black background
contrast 10.81:1
Card sample
#cbacf9 text on a white background
contrast 1.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbacf9;
Background color
Panel with #cbacf9 background
background-color: #cbacf9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbacf9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 172, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 172, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbacf9; background: linear-gradient(135deg, #cbacf9, #F9ACF4);