#cbaffb
a light, electric violet · warm · closest name: plum
RGB
203, 175, 251
HSL
262°, 91%, 84%
CMYK
19, 30, 0, 2
Luminance
0.5032
Every format
| HEX | #cbaffb |
| RGB | rgb(203, 175, 251) |
| HSL | hsl(262, 91%, 84%) |
| CMYK | cmyk(19%, 30%, 0%, 2%) |
| LAB | lab(76.3 24.9 -34.0) |
| LCH | lch(76.3 42.1 306.2) |
| OKLCH | oklch(0.805 0.109 300.9) |
Copy-ready code
/* CSS */
color: #cbaffb;
background-color: #cbaffb;
/* Tailwind (arbitrary) */
class="text-[#cbaffb] bg-[#cbaffb]"
/* SCSS */
$brand: #cbaffb;
/* SwiftUI */
Color(red: 0.796, green: 0.686, blue: 0.984)
/* Android */
Color.parseColor("#cbaffb")Accessibility — WCAG contrast
Aa
#cbaffb on white: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbaffb on black: 11.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green68.6%
Blue98.4%
CMYK percentages
Cyan19.1%
Magenta30.3%
Yellow0.0%
Key (black)1.6%
Color previews
#cbaffb text on a black background
contrast 11.06:1
Card sample
#cbaffb text on a white background
contrast 1.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbaffb;
Background color
Panel with #cbaffb background
background-color: #cbaffb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbaffb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 175, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 175, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbaffb; background: linear-gradient(135deg, #cbaffb, #FBAFF8);