#c1affc
a light, electric blue · warm · closest name: plum
RGB
193, 175, 252
HSL
254°, 93%, 84%
CMYK
23, 31, 0, 1
Luminance
0.4903
Every format
| HEX | #c1affc |
| RGB | rgb(193, 175, 252) |
| HSL | hsl(254, 93%, 84%) |
| CMYK | cmyk(23%, 31%, 0%, 1%) |
| LAB | lab(75.5 22.1 -35.8) |
| LCH | lch(75.5 42.1 301.7) |
| OKLCH | oklch(0.797 0.109 294.5) |
Copy-ready code
/* CSS */
color: #c1affc;
background-color: #c1affc;
/* Tailwind (arbitrary) */
class="text-[#c1affc] bg-[#c1affc]"
/* SCSS */
$brand: #c1affc;
/* SwiftUI */
Color(red: 0.757, green: 0.686, blue: 0.988)
/* Android */
Color.parseColor("#c1affc")Accessibility — WCAG contrast
Aa
#c1affc on white: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c1affc on black: 10.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green68.6%
Blue98.8%
CMYK percentages
Cyan23.4%
Magenta30.6%
Yellow0.0%
Key (black)1.2%
Color previews
#c1affc text on a black background
contrast 10.81:1
Card sample
#c1affc text on a white background
contrast 1.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c1affc;
Background color
Panel with #c1affc background
background-color: #c1affc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c1affc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 175, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 175, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c1affc; background: linear-gradient(135deg, #c1affc, #F4AFFC);