#cbafdb
a light, soft violet · warm · closest name: plum
RGB
203, 175, 219
HSL
278°, 38%, 77%
CMYK
7, 20, 0, 14
Luminance
0.4847
Every format
| HEX | #cbafdb |
| RGB | rgb(203, 175, 219) |
| HSL | hsl(278, 38%, 77%) |
| CMYK | cmyk(7%, 20%, 0%, 14%) |
| LAB | lab(75.1 18.1 -18.4) |
| LCH | lch(75.1 25.8 314.5) |
| OKLCH | oklch(0.792 0.068 313.2) |
Copy-ready code
/* CSS */
color: #cbafdb;
background-color: #cbafdb;
/* Tailwind (arbitrary) */
class="text-[#cbafdb] bg-[#cbafdb]"
/* SCSS */
$brand: #cbafdb;
/* SwiftUI */
Color(red: 0.796, green: 0.686, blue: 0.859)
/* Android */
Color.parseColor("#cbafdb")Accessibility — WCAG contrast
Aa
#cbafdb on white: 1.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbafdb on black: 10.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green68.6%
Blue85.9%
CMYK percentages
Cyan7.3%
Magenta20.1%
Yellow0.0%
Key (black)14.1%
Color previews
#cbafdb text on a black background
contrast 10.69:1
Card sample
#cbafdb text on a white background
contrast 1.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbafdb;
Background color
Panel with #cbafdb background
background-color: #cbafdb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbafdb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 175, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 175, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbafdb; background: linear-gradient(135deg, #cbafdb, #DBAFCE);