#baa6ff
a light, electric blue · warm · closest name: plum
RGB
186, 166, 255
HSL
254°, 100%, 83%
CMYK
27, 35, 0, 0
Luminance
0.4493
Every format
| HEX | #baa6ff |
| RGB | rgb(186, 166, 255) |
| HSL | hsl(254, 100%, 83%) |
| CMYK | cmyk(27%, 35%, 0%, 0%) |
| LAB | lab(72.8 25.8 -41.6) |
| LCH | lch(72.8 48.9 301.8) |
| OKLCH | oklch(0.776 0.126 293.6) |
Copy-ready code
/* CSS */
color: #baa6ff;
background-color: #baa6ff;
/* Tailwind (arbitrary) */
class="text-[#baa6ff] bg-[#baa6ff]"
/* SCSS */
$brand: #baa6ff;
/* SwiftUI */
Color(red: 0.729, green: 0.651, blue: 1.000)
/* Android */
Color.parseColor("#baa6ff")Accessibility — WCAG contrast
Aa
#baa6ff on white: 2.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baa6ff on black: 9.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green65.1%
Blue100.0%
CMYK percentages
Cyan27.1%
Magenta34.9%
Yellow0.0%
Key (black)0.0%
Color previews
#baa6ff text on a black background
contrast 9.99:1
Card sample
#baa6ff text on a white background
contrast 2.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baa6ff;
Background color
Panel with #baa6ff background
background-color: #baa6ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baa6ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 166, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 166, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baa6ff; background: linear-gradient(135deg, #baa6ff, #F5A6FF);