#cbbafc
a pale, electric violet · warm · closest name: plum
RGB
203, 186, 252
HSL
256°, 92%, 86%
CMYK
19, 26, 0, 1
Luminance
0.5484
Every format
| HEX | #cbbafc |
| RGB | rgb(203, 186, 252) |
| HSL | hsl(256, 92%, 86%) |
| CMYK | cmyk(19%, 26%, 0%, 1%) |
| LAB | lab(79.0 19.1 -30.4) |
| LCH | lch(79.0 35.9 302.1) |
| OKLCH | oklch(0.826 0.093 296.1) |
Copy-ready code
/* CSS */
color: #cbbafc;
background-color: #cbbafc;
/* Tailwind (arbitrary) */
class="text-[#cbbafc] bg-[#cbbafc]"
/* SCSS */
$brand: #cbbafc;
/* SwiftUI */
Color(red: 0.796, green: 0.729, blue: 0.988)
/* Android */
Color.parseColor("#cbbafc")Accessibility — WCAG contrast
Aa
#cbbafc on white: 1.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbbafc on black: 11.97:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green72.9%
Blue98.8%
CMYK percentages
Cyan19.4%
Magenta26.2%
Yellow0.0%
Key (black)1.2%
Color previews
#cbbafc text on a black background
contrast 11.97:1
Card sample
#cbbafc text on a white background
contrast 1.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbbafc;
Background color
Panel with #cbbafc background
background-color: #cbbafc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbbafc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 186, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 186, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbbafc; background: linear-gradient(135deg, #cbbafc, #F7BAFC);