#cabaf2
a light, vivid violet · warm · closest name: plum
RGB
202, 186, 242
HSL
257°, 68%, 84%
CMYK
17, 23, 0, 5
Luminance
0.5409
Every format
| HEX | #cabaf2 |
| RGB | rgb(202, 186, 242) |
| HSL | hsl(257, 68%, 84%) |
| CMYK | cmyk(17%, 23%, 0%, 5%) |
| LAB | lab(78.5 16.6 -25.7) |
| LCH | lch(78.5 30.6 302.8) |
| OKLCH | oklch(0.821 0.079 297.7) |
Copy-ready code
/* CSS */
color: #cabaf2;
background-color: #cabaf2;
/* Tailwind (arbitrary) */
class="text-[#cabaf2] bg-[#cabaf2]"
/* SCSS */
$brand: #cabaf2;
/* SwiftUI */
Color(red: 0.792, green: 0.729, blue: 0.949)
/* Android */
Color.parseColor("#cabaf2")Accessibility — WCAG contrast
Aa
#cabaf2 on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cabaf2 on black: 11.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.2%
Green72.9%
Blue94.9%
CMYK percentages
Cyan16.5%
Magenta23.1%
Yellow0.0%
Key (black)5.1%
Color previews
#cabaf2 text on a black background
contrast 11.82:1
Card sample
#cabaf2 text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cabaf2;
Background color
Panel with #cabaf2 background
background-color: #cabaf2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cabaf2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(202, 186, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 186, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cabaf2; background: linear-gradient(135deg, #cabaf2, #EFBAF2);