#baaaf2
a light, vivid blue · warm · closest name: plum
RGB
186, 170, 242
HSL
253°, 74%, 81%
CMYK
23, 30, 0, 5
Luminance
0.4560
Every format
| HEX | #baaaf2 |
| RGB | rgb(186, 170, 242) |
| HSL | hsl(253, 74%, 81%) |
| CMYK | cmyk(23%, 30%, 0%, 5%) |
| LAB | lab(73.3 20.5 -33.8) |
| LCH | lch(73.3 39.6 301.2) |
| OKLCH | oklch(0.778 0.102 294.1) |
Copy-ready code
/* CSS */
color: #baaaf2;
background-color: #baaaf2;
/* Tailwind (arbitrary) */
class="text-[#baaaf2] bg-[#baaaf2]"
/* SCSS */
$brand: #baaaf2;
/* SwiftUI */
Color(red: 0.729, green: 0.667, blue: 0.949)
/* Android */
Color.parseColor("#baaaf2")Accessibility — WCAG contrast
Aa
#baaaf2 on white: 2.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baaaf2 on black: 10.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green66.7%
Blue94.9%
CMYK percentages
Cyan23.1%
Magenta29.8%
Yellow0.0%
Key (black)5.1%
Color previews
#baaaf2 text on a black background
contrast 10.12:1
Card sample
#baaaf2 text on a white background
contrast 2.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baaaf2;
Background color
Panel with #baaaf2 background
background-color: #baaaf2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baaaf2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 170, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 170, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baaaf2; background: linear-gradient(135deg, #baaaf2, #EAAAF2);